Is it possible to Load an XML File who has a password and a username like so:
XDocument xmlDoc = XDocument.load("htt://myApp/MyTestFile", "Username", "passwordtest");
Please help, I am hanging on that last point for my app.
Is it possible to Load an XML File who has a password and a username like so:
XDocument xmlDoc = XDocument.load("htt://myApp/MyTestFile", "Username", "passwordtest");
Please help, I am hanging on that last point for my app.
You could set the Credentials property of the XmlUrlResolver, as the document said :
Then use XmlReader and XmlReaderSettings for the
XDocument
.Something like this :