networking - c# StreamReader ReadLine() Keep Quotes -


i have following, , need first line socket, not have c# remove quotes. can't escape quotes in input come source don't control.

streamreader sr = new streamreader(socketstream); string firstline = sr.readline(); 

example input line: "/aaaadoe"

firstline equals /aaaadoe , not "/aaaadoe".

any suggestions?

streamreader not remove quotes. ideas:

  1. the quotes not sent
  2. something else removed them
  3. you not looking @ right string, or misinterpreting debugger display of it

Comments