62,047
社区成员
发帖
与我相关
我的任务
分享
WebRequest req = WebRequest.Create("http://localhost:11089/Test.aspx");
req.Headers.Set("Verson","4");
using (WebResponse res = req.GetResponse()) // GetResponse blocks until the response arrives
{
}
然后再本地接受
protected void Page_Load(object sender, EventArgs e)
{
string Verson = Request.Headers.Get("Verson");//4
}