When using XmlDocument.Load , I am finding that if the document refers to a DTD, a connection is made to the provided URI. Is there any way to prevent this from happening?>
Use an XMLReader to load the document and set the ValidationType property of the reader settings to None.
XMLReader
ValidationType
None