UnicodeEncoding unicode =new UnicodeEncoding(); byte[] unicodeBytes = unicode.GetBytes(text); var hex = BitConverter.ToUInt16(unicodeBytes,0);
byte[] bytes = Encoding.Unicode.GetBytes("string here");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)