Mono Class Library: System.Net Namespace

System.Net.DnsPermission Class

Controls access to Domain Name System (DNS) servers on the network. [Edit]

See Also: DnsPermission Members

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

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

Thread Safety

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

Remarks

The XML encoding of a System.Net.DnsPermission instance is defined below in EBNF format. The following conventions are used:

The following meta-language symbols are used:

BuildVersion refers to the build version of the shipping CLI. This is a dotted build number such as '2412.0' .

ECMAPubKeyToken ::= b77a5c561934e089

DnsPermissionXML ::=
<IPermission
class="
System.Net.DnsPermission,
System,
Version=1.0.BuildVersion,
Culture=neutral,
PublicKeyToken=ECMAPubKeyToken"
version="1"
(
Unrestricted="true"/>
)
| />
[Edit]

Requirements

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