System.Security.Permissions.DataProtectionPermission.Copy Method

Creates and returns an identical copy of the current permission.

Syntax

public override System.Security.IPermission Copy ()

Returns

A copy of the current permission.

Remarks

A copy of the permission represents the same access to resources as the original permission.

Requirements

Namespace: System.Security.Permissions
Assembly: System.Security (in System.Security.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0