を作成してXPathDocumnet
を指定しましたxml file
が、ドキュメントが読み込まれません。つまり、例外などがないため、ロードに無限にかかるということです。コードは次のとおりです。
string root = @"http://emtehan.roshd.ir";
WebClient webclient = new WebClient();
webclient.DownloadFile(root, "doc.xml");
XPathDocument document = new XPathDocument("doc.xml");