title: C# Sending Hex string to tcp socket
body: <p>I'm trying to send a hex string to a tcp socket. I have some problems with the format or conversion of this string, cause I'm not very sure what the format its using.</p>
  
  <p>I've written a WindowsPhone app which is working fine based on Socket Class.
  This app emulates request, that are normaly send from a desktop program to a device which hosts a webservice.</p>
  
  <p>Via wireshark, I found out, that the webservice will accept an input stream (think its in hex) and returns a 2nd. hex stream which contains the data I need.</p>
  
  <p>So the desktop app is sending a stream
  and Wireshark shows when  : </p>
  
  <p>Data (8 bytes) 
  Data: 62ff03fff00574600
  Length: 8</p>
  
  <p>Now I've tried a lot to reproduce this stream. I thougt, it used to be a UTF8 string and converted this stream to this format. But every time I send it, is see in Wireshark the following output: 62c3bf03c3bf00574600</p>
  
  <p>As far as i've investigated 62 = b but ff send always c3bf.</p>
  
  <p>Does somebody know how to send this stream in the right format?</p>
  
  <p>Cheers,
  Jo</p>