System.Net.DnsPermission Class

Controls rights to access Domain Name System (DNS) servers on the network.

See Also: DnsPermission Members

Syntax

public sealed class DnsPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission

Remarks

The default permissions allow all local and Intranet zone applications to access DNS services, and no DNS permission for Internet zone applications.

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0