XmlSecureResolver Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
XmlSecureResolver is obsolete. Use XmlResolver.ThrowingResolver instead when attempting to forbid XML external entity resolution.
Helps to secure another implementation of XmlResolver by wrapping the XmlResolver object and restricting the resources that the underlying XmlResolver has access to.
public ref class XmlSecureResolver : System::Xml::XmlResolver
public class XmlSecureResolver : System.Xml.XmlResolver
[System.Obsolete("XmlSecureResolver is obsolete. Use XmlResolver.ThrowingResolver instead when attempting to forbid XML external entity resolution.", DiagnosticId="SYSLIB0047", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public class XmlSecureResolver : System.Xml.XmlResolver
type XmlSecureResolver = class
inherit XmlResolver
[<System.Obsolete("XmlSecureResolver is obsolete. Use XmlResolver.ThrowingResolver instead when attempting to forbid XML external entity resolution.", DiagnosticId="SYSLIB0047", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type XmlSecureResolver = class
inherit XmlResolver
Public Class XmlSecureResolver
Inherits XmlResolver
- Inheritance
- Attributes
For more information about this API, see Supplemental API remarks for XmlSecureResolver.
This class has an inheritance demand. Full trust is required to inherit from the XmlSecureResolver class.
Xml |
Initializes a new instance of the XmlSecureResolver class with the XmlResolver and Evidence specified. |
Xml |
Initializes a new instance of the XmlSecureResolver class with the XmlResolver and PermissionSet specified. |
Xml |
Initializes a new instance of the XmlSecureResolver class with the XmlResolver and URL provided. |
Credentials |
Sets credentials used to authenticate web requests. |
Create |
Creates evidence using the supplied URL. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Maps a URI to an object that contains the actual resource. This method temporarily sets the PermissionSet created in the constructor by calling PermitOnly() before calling |
Get |
Asynchronously maps a URI to an object that contains the actual resource. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Resolve |
Resolves the absolute URI from the base and relative URIs by calling |
Supports |
Enables the resolver to return types other than Stream. (Inherited from XmlResolver) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions (Obsolete) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6 (7, 8, 9) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: