XmlSecureResolver Constructor (XmlResolver, Evidence)
Assembly: System.Xml (in System.Xml.dll)
Here are some possible scenarios and the type of evidence to provide for each scenario:
If you are working in a fully trusted environment, use your assembly to create the evidence:
If you are working in a semi-trusted environment, you have code or data coming from an outside source, and you know the origin of the outside source and have a verifiable URI, use the URI to create the evidence:
If you are working in a semi-trusted environment and you have code or data coming from an outside source, but you don't know the origin of the outside source, either:
Set the evidence parameter to null. This allows no access to resources.
If your application requires some access to resources, request evidence from the caller.
Available since 1.1