如果您的服务器使用NTLM身份验证,则可以尝试以下 *** 作:
CredentialCache cc = new CredentialCache();cc.Add( new Uri("https://mywebserver/webpage"), "NTLM", new NetworkCredential("user", "password"));request.Credentials = cc;
欢迎分享,转载请注明来源:内存溢出
如果您的服务器使用NTLM身份验证,则可以尝试以下 *** 作:
CredentialCache cc = new CredentialCache();cc.Add( new Uri("https://mywebserver/webpage"), "NTLM", new NetworkCredential("user", "password"));request.Credentials = cc;
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)