Convert from stream to string
April 11, 2009
Twitter's a new exciting social media. And guess what, I'm quite active on it. Follow me on Twitter to get the latest links and updates.
Convert from stream to string
public static string Stream2String(Stream inStream)
{
StreamReader sR = new StreamReader(inStream);
string result = sR.ReadToEnd();
return result;
}

Leave a Reply