This documentation is archived and is not being maintained.

PeerCollaborationPermission.Copy Method

Creates and returns a copy of the current PeerCollaborationPermission.

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

public override IPermission Copy()

Return Value

Type: System.Security.IPermission
A Object that contains a copy of the current instance of PeerCollaborationPermission.



A copy of a PeerCollaborationPermission instance grants the same access to resources as the original permission.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5