ConsoleKey
A list of all the scankey codes.
Public Enum ConsoleKey
Values
- AKey = 65
- The A key.
- AddKey = 107
- The keypad plus key.
- ApplicationsKey = 91
- The application key (Microsoft Natual Keyboard)
- AttentionKey = 246
- The ATTN key.
- BKey = 66
- The B key.
- BackSpaceKey = 8
- The BackSpace key.
- BrowserBackKey = 166
- The Browser Back key (Windows 2000 or later)
- BrowserFavoritesKey = 171
- The Browser Favorites key (Windows 2000 or later)
- BrowserForwardKey = 167
- The Browser Forward key (Windows 2000 or later)
- BrowserHomeKey = 172
- The Browser Home key (Windows 2000 or later)
- BrowserRefreshKey = 168
- The Browser Refresh key (Windows 2000 or later)
- BrowserSearchKey = 170
- The Browser Search key (Windows 2000 or later)
- BrowserStopKey = 169
- The Browser Stop key (Windows 2000 or later)
- CKey = 67
- The C Key.
- ClearKey = 12
- The CLEAR key.
- CrSelKey = 247
- The CRSEL (CURSOR SELECT) key.
- DKey = 68
- The D key.
- D0Key = 48
- The 0 key.
- D1Key = 49
- The 1 key.
- D2Key = 50
- The 2 key.
- D3Key = 51
- The 3 key.
- D4Key = 52
- The 4 key.
- D5Key = 53
- The 5 key.
- D6Key = 54
- The 6 key.
- D7Key = 55
- The 7 key.
- D8Key = 56
- The 8 Key.
- D9Key = 57
- The 9 key.
- DecimalKey = 110
- The Decimal key.
- DeleteKey = 46
- The Delete key.
- DivideKey = 111
- The divide key.
- DownArrowKey = 40
- The DOWN ARROW key.
- EKey = 69
- The E key.
- EndKey = 35
- The END key.
- EnterKey = 13
- The Enter key.
- EraseEndOfFileKey = 249
- The ERASE EOF key.
- EscapeKey = 27
- The ESC (ESCAPE) key.
- ExecuteKey = 43
- The EXECUTE key.
- ExSelKey = 248
- The EXSEL (EXTEND SELECTION) key.
- FKey = 70
- The F key.
- F1Key = 112
- The F1 key.
- F2Key = 113
- The F2 key.
- F3Key = 114
- The F3 key.
- F4Key = 115
- The F4 key.
- F5Key = 116
- The F5 key.
- F6Key = 117
- The F6 key.
- F7Key = 118
- The F7 key.
- F8Key = 119
- The F8 key.
- F9Key = 120
- The F9 key.
- F10Key = 121
- The F10 key.
- F11Key = 122
- The F11 key.
- F12Key = 123
- The F12 key.
- F13Key = 124
- The F13 key.
- F14Key = 125
- The F14 key.
- F15Key = 126
- The F15 key.
- F16Key = 127
- The F16 key.
- F17Key = 128
- The F17 key.
- F18Key = 129
- The F18 key.
- F19Key = 130
- The F19 key.
- F20Key = 131
- The F20 key.
- F21Key = 132
- The F21 key.
- F22Key = 133
- The F22 key.
- F23Key = 134
- The F23 key.
- F24Key = 135
- The F24 key.
- GKey = 71
- The G key.
- hKey = 72
- The H key.
- HelpKey = 47
- The HELP key.
- HomeKey = 36
- The HOME key.
- IKey = 73
- The I key.
- InsertKey = 45
- The INS (INSERT) key.
- JKey = 74
- The J key.
- KKey = 75
- The K key.
- LKey = 76
- The L key.
- LaunchApp1Key = 182
- The Start Application 1 key (MS Natural keyboard, Windows 2000 or later)
- LaunchApp2Key = 183
- The Start Application 2 key (MS Natural keyboard, Windows 2000 or later)
- LaunchMailKey = 180
- The Start Mail key (MS Natural keyboard, Windows 2000 or later)
- LaunchMediaSelectKey = 181
- The Select Media key (MS Natural keyboard, Windows 2000 or later)
- LeftArrowKey = 37
- The LEFT ARROW key.
- LeftWindowsKey = 91
- The left Windows logo key.
- mKey = 77
- The M key.
- MediaNextKey = 176
- The Media Next Track key (MS Natural keyboard, Windows 2000 or later)
- MediaPlayKey = 179
- The Media Play Track key (MS Natural keyboard, Windows 2000 or later)
- MediaPreviousKey = 177
- The Media Previous Track key (MS Natural keyboard, Windows 2000 or later)
- MediaStopKey = 178
- The Media Stop key (MS Natural keyboard, Windows 2000 or later)
- MultiplyKey = 106
- The Multiply key.
- NKey = 78
- The N key.
- NoNameKey = 252
- A constant reserved for future use.
- NumPad0Key = 96
- The 0 key on the numeric keypad.
- NumPad1Key = 97
- The 1 key on the numeric keypad.
- NumPad2Key = 98
- The 2 key on the numeric keypad.
- NumPad3Key = 99
- The 3 key on the numeric keypad.
- NumPad4Key = 100
- The 4 key on the numeric keypad.
- NumPad5Key = 101
- The 5 key on the numeric keypad.
- NumPad6Key = 102
- The 6 key on the numeric keypad.
- NumPad7Key = 103
- The 7 key on the numeric keypad.
- NumPad8Key = 104
- The 8 key on the numeric keypad.
- NumPad9Key = 105
- The 9 key on the numeric keypad.
- OKey = 79
- The O key.
- Oem1Key = 186
- The OEM 1 key (OEM Specific)
- Oem102Key = 226
- The OEM 102 key (OEM Specific)
- Oem2Key = 191
- The OEM 2 key (OEM Specific)
- Oem3Key = 192
- The OEM 3 key (OEM Specific)
- Oem4Key = 219
- The OEM 4 key (OEM Specific)
- Oem5Key = 220
- The OEM 5 key (OEM Specific)
- Oem6Key = 221
- The OEM 6 key (OEM Specific)
- Oem7Key = 222
- The OEM 7 key (OEM Specific)
- Oem8Key = 223
- The OEM 8 key (OEM Specific)
- OemClearKey = 254
- The CLEAR key (OEM Specific)
- OemCommaKey = 188
- The Comma Key.
- OemMinusKey = 189
- The Minus key.
- OemPeriodKey = 190
- The Period key.
- OemPlusKey = 187
- The Plus key.
- PKey = 80
- The P key.
- Pa1Key = 253
- The PA1 key.
- PacketKey = 231
- The Packet key (used to pass unicode characters with keystrokes)
- PageDownKey = 34
- The PAGE DOWN key.
- PageUpKey = 33
- The PAGE UP key.
- PauseKey = 19
- The PAUSE key.
- PlayKey = 250
- The PLAY key.
- PrintKey = 42
- The PRINT key.
- PrintScreenKey = 44
- The PRINT SCREEN key.
- ProcessKey = 229
- The IME PROCESS key.
- QKey = 81
- The Q key.
- RKey = 82
- The R Key.
- RightArrowKey = 39
- The RIGHT ARROW key.
- RightWindowsKey = 92
- The right Windows logo key.
- SKey = 83
- The S key.
- SelectKey = 41
- The SELECT key.
- SeparatorKey = 108
- The Separator key.
- SleepKey = 95
- The Computer Sleep key.
- SpaceBarKey = 32
- The Space Bar key.
- SubtractKey = 109
- The Subtract key.
- TKey = 84
- The T key.
- TabKey = 9
- The TAB key.
- UKey = 85
- The U key.
- UpArrowKey = 38
- The UP ARROW key.
- VKey = 86
- The V key.
- VolumeDownKey = 174
- The Volume Down key.
- VolumeMuteKey = 173
- The Volume Mute key.
- VolumeUpKey = 175
- The Volume Up key.
- WKey = 87
- The W key.
- XKey = 88
- The X key.
- YKey = 89
- The Y key.
- ZKey = 90
- The Z key.
- ZoomKey = 251
- The ZOOM key.
See Also
Project CorLib Overview
Class ConsoleKeyInfo Overview