I have a TextBox control in a WinForms dialog. If I enter a Character and
convert it to ASCII by ASCIIEnconding.ASCII.GetBytes() it works. But when I
enter an ASCII value below 0x20 by holding ALT and entering the value using
the number pad I get and convert it, I do not get the correct value.
For example: ALT+25 shows a Down-Arrow in the box, gets 0x2193 in the
KeyPressEvent.KeyChar and is converted to 0x3f by
ASCIIEnconding.ASCII.GetBytes(). I would expect 0x19 for decimal 25.
Has anyone an idea how to get the correct value?
Thanks in advance,