At this point most people will be thinking \"Ah ill post this..:\"
byte[] dataB= System.Text.Encoding.ASCII.GetBytes(data);
However.. the p
Why convert from string at all? Couldn't you just read the contents of the file directly into bytes?
byte[] fileC = File.ReadAllBytes(dialog.FileName);