string user = "uuuuuuu"; string pass = "ppppppp"; string authHdr = "Authorization: Basic " + Convert.ToBase64String(Encoding.ASCII.GetBytes(user + ":" + pass)) + "\r\n"; webBrowserCtl.Navigate("http://site.com", null, null, authHdr); ***************************************************************************** 签名档: http://feiyun0112.cnblogs.com/
http://www.cnblogs.com/chenxizhang/archive/2010/02/01/1661321.html 不知道能不能帮到你
110,536
社区成员
642,578
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧