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:
- the quotes not sent
- something else removed them
- you not looking @ right string, or misinterpreting debugger display of it
Comments
Post a Comment