DnsPermission | ECMA 1.0, serializable |
System.Net (system.dll) | sealed class |
This class controls access to DNS
services. The constructor accepts one
argument, either
System.Security.Permissions.PermissionState.None
(no access to DNS services) or
System.Security.Permissions.PermissionState.Unrestricted
(all access).
This permission is Demand( )ed by all of the
methods on the Dns class.
public sealed class DnsPermission : System.Security.CodeAccessPermission,
System.Security.Permissions.IUnrestrictedPermission {
// Public Constructors
public DnsPermission(System.Security.Permissions.PermissionState state);
// Public Instance Methods
public override IPermission Copy( );
// overrides CodeAccessPermission
public override void FromXml(System.Security.SecurityElement securityElement)
// overrides CodeAccessPermission
public override IPermission Intersect(System.Security.IPermission target)
// overrides CodeAccessPermission
public override bool IsSubsetOf(System.Security.IPermission target);
// overrides CodeAccessPermission
public bool IsUnrestricted( );
// implements IUnrestrictedPermission
public override SecurityElement ToXml( );
// overrides CodeAccessPermission
public override IPermission Union(System.Security.IPermission target)
// overrides CodeAccessPermission
}
Hierarchy
System.Object
System.Security.CodeAccessPermission(System.Security.IPermission,
System.Security.ISecurityEncodable,
System.Security.IStackWalk)
DnsPermission(System.Security.Permissions.IUnrestrictedPermission)
|