http://zhidao.baidu.com/question/159737467.html这是我在另一个问题中的回答,刚好是你需要的,看看吧,我就不复制粘贴了
txt=“获得的内容”
太简单了,string content = Encoding.Default.GetString(ret);