System.Net.DnsPermission Class

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

See Also: DnsPermission Members


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


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.


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