How can I convert backslash key (\'\\\') to key code?
On my keyboard backslash code is 220, but the method below
(int)\'\\\\\'
ret
Or you could keep it simple and cast it.
(Keys)keyToConvert