This documentation is archived and is not being maintained.

ConsoleKeyInfo Properties

The ConsoleKeyInfo type exposes the following members.

  NameDescription
Public property Key Gets the console key represented by the current ConsoleKeyInfo object.
Public property KeyChar Gets the Unicode character represented by the current ConsoleKeyInfo object.
Public property Modifiers Gets a bitwise combination of System.ConsoleModifiers values that specifies one or more modifier keys pressed simultaneously with the console key.
Top
Show: