Method EncodeKeyCharForVKPacket
EncodeKeyCharForVKPacket(ConsoleKeyInfo)
Encode the KeyChar with the Key if the first a byte length, otherwise only the KeyChar is considered and searched on the database.
public static char EncodeKeyCharForVKPacket(ConsoleKeyInfo consoleKeyInfo)
Parameters
consoleKeyInfo
ConsoleKeyInfoThe console key info.
Returns
- char
The encoded KeyChar with the Key if both can be shifted, otherwise only the KeyChar.
Remarks
This is useful to use with the Packet.