code_junkie

“Specified network name is no longer available” in Httplistener

Nov 13th, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. buffer = System.Text.Encoding.UTF8.GetBytes(responseString);
  2.  
  3. response.ContentLength64 = buffer.Length;
  4. output = response.OutputStream;
  5. output.Write(buffer, 0, buffer.Length);
Add Comment
Please, Sign In to add comment