Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

DnsPermission Class

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

For a list of all members of this type, see DnsPermission Members.

System.Object
   System.Security.CodeAccessPermission
      System.Net.DnsPermission

[Visual Basic]
<Serializable>
NotInheritable Public Class DnsPermission
   Inherits CodeAccessPermission
   Implements IUnrestrictedPermission
[C#]
[Serializable]
public sealed class DnsPermission : CodeAccessPermission,
   IUnrestrictedPermission
[C++]
[Serializable]
public __gc __sealed class DnsPermission : public
   CodeAccessPermission, IUnrestrictedPermission
[JScript]
public
   Serializable
class DnsPermission extends CodeAccessPermission implements
   IUnrestrictedPermission

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

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

Requirements

Namespace: System.Net

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

DnsPermission Members | System.Net Namespace | SecurityZone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.