In .net 4.0 we can use property XmlReaderSettings.DtdProcessing with value DtdProcessing.Ignore for ignore dtd. In .net 3.5 we can use only XmlReaderSettings.ProhibitDtd without ignore-value. How activate ignore mode for dtd in .net 3.5?
In .net 4.0 we can use property XmlReaderSettings.DtdProcessing with value DtdProcessing.Ignore for ignore dtd.
Share
try following:
works for me