参考: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);
参考: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);