DnsPermission.Copy Method ()

 

Creates an identical copy of the current permission instance.

Namespace:   System.Net
Assembly:  System (in System.dll)

override Copy : unit -> IPermission

Return Value

Type: System.Security.IPermission

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

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

The following example creates an identical copy of an existing DnsPermission instance.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: