摘要: 一、public HttpStatusCode http_authorization_basic(string username, string password) { WebRequest myReq = WebRequest.Create(url); string usernamePassword = username + ":" + password; CredentialCache mycache = new CredentialCache(); mycache.Add(new Uri(url), "Basic", new NetworkCred 阅读全文
posted @ 2012-01-04 11:20 cybean 阅读(690) 评论(0) 推荐(0) 编辑