CorLib  

ConsoleKeyInfo

ConsoleKeyInfo overview

Implements:

IObject 

Public:

Types:
ConsoleKey A list of all the scankey codes.  
ConsoleModifiers Values that represent the specific modifier keys used to indicate different values for specific keys.  
Properties:
Key (get) Returns the scankey code of the pressed key.  
KeyChar (get) Returns the ascii code of the pressed key.  
Modifiers (get) Returns the state of the key modifiers (Shift, Alt, Control) at the time of the key press.  
Methods:
Equals Returns a boolean indicating if the value and this object instance are the same instance.  
GetHashCode Returns a pseudo-unique number identifying this instance.  
ToString Returns a string representation of this object instance.  

See Also