I use C# Windows Form. I seem need convert to string. How I can do this?
byte[] data = new byte[256];
I use C# Windows Form. I seem need convert to string. How I can do this?
byte[] data = new byte[256];
Make sure you're using System.Text and this should work:
string mystr = Encoding.UTF8.GetString(data);