回调页面需要显示的一些东西

ASP.NET WEBFORM

     string logtxt = "进入回调页面:\r\n";
            logtxt += $"ContentType:{Request.ContentType}\r\n";
            Stream s = Request.InputStream;
            StreamReader reader = new StreamReader(s);
            string text = reader.ReadToEnd();
            logtxt += $"InputStream:\r\n{text}\r\n";

            if (Request.Form != null && Request.Form.Count > 0)
            {
                logtxt += "传有form参数,数量:" + Request.Form.Count + "\r\n";
            }
            else
            {
                logtxt += $"没有form参数。\r\n";
            }
            if (Request.QueryString != null)
            {
                logtxt += $"QueryString:{Request.QueryString}\r\n";
            }
C#

你可能感兴趣的:(C#,c#,asp.net,前端)