System.Net.WebRequest myRequest = System.Net.WebRequest.Create("http://localhost/1.aspx");
myRequest.Headers.Add("User-Agent","PowerBrowser");
怎么一加就报错(This header must be modified with the appropriate property.
)咯??好奇怪,麻烦各位解决一下,谢谢了!