阅读背景:

xml错误:对象引用在SelectSingleNode之后没有设置为对象的实例

来源:互联网 

here's my code:

这是我的代码:

XmlDocument doc = new XmlDocument();
foreach (string c in colorList)
{
     doc.Load(@"https://whoisxmlapi.com/whoisserver/WhoisService?domainName=" + c + @"&username=user&password=pass");
     textBox1.Text += doc.SelectSingleNode("WhoisRecord/registrant/email").InnerText + ",";
}
XmlDocument doc = n



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: