接收流信息---字符串

Stream resStream = context.Request.InputStream;
int len = (int)resStream.Length;
byte[] inputByts = new byte[len];
resStream.Read(inputByts, 0, len);
resStream.Close();
string parameters = Encoding.UTF8.GetString(inputByts);//获取参数 字符串

原文地址:https://www.cnblogs.com/hjhd/p/3246155.html