SocketPermission::Copy Method ()
.NET Framework (current version)
Creates a copy of a SocketPermission instance.
Assembly: System (in System.dll)
Return Value
Type: System.Security::IPermission^A new instance of the SocketPermission class that is a copy of the current instance.
Implements
IPermission::Copy()The object returned by this method represents the same level of access as the current instance. This method overrides Copy and is implemented to support the IPermission interface.
The following example creates a SocketPermission by taking a copy of an existing SocketPermission.
.NET Framework
Available since 1.1
Available since 1.1
Show: