C# 网站的WebClient登录名和密码

C# 网站的WebClient登录名和密码,c#,webclient,C#,Webclient,我正在尝试登录到(http://whois.domaintools.com) 但我有这个错误 错误417预期失败 如何修复此问题?将此属性添加到代码中 ServicePointManager.Expect100Continue = false; 这有帮助吗:? ServicePointManager.Expect100Continue = false;

我正在尝试登录到(http://whois.domaintools.com)

但我有这个错误

错误417预期失败


如何修复此问题?

将此属性添加到代码中

ServicePointManager.Expect100Continue = false;
这有帮助吗:?
ServicePointManager.Expect100Continue = false;