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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -