getconsolecp (kernel32)
Last changed: -87.68.67.5

.
Summary

C# Signature:

    /* Retrieves the input code page used by the console associated with the calling process.
        A console uses its input code page to translate keyboard input into the corresponding character value. */
    [DllImport("kernel32.dll", SetLastError = true)]
    internal static extern UINT GetConsoleCP();

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

System.Console.InputEncoding.CodePage

Documentation