参考:https://msdn.microsoft.com/en-us/library/yk7437c8(v=vs.110).aspx

HttpWebRequest req = (HttpWebRequest)WebRequest.Create(new Uri(url));
req.Credentials = new NetworkCredential(account, password);
最后修改:2015 年 06 月 11 日
如果觉得我的文章对你有用,请随意赞赏