System.Net.DnsPermission.Copy Method

Creates an identical copy of the current permission instance.

Syntax

public override System.Security.IPermission Copy ()

Returns

A new instance of the System.Net.DnsPermission class that is an identical copy of the current instance.

Remarks

A copy of a System.Net.DnsPermission instance provides the same access to DNS servers as the original permission instance.

Requirements

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