Export (0) Print
Expand All

StrongName.CreateIdentityPermission Method

Creates a StrongNameIdentityPermission that corresponds to the current StrongName.

Namespace:  System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

public IPermission CreateIdentityPermission(
	Evidence evidence
)

Parameters

evidence
Type: System.Security.Policy.Evidence

The Evidence from which to construct the StrongNameIdentityPermission.

Implements

IIdentityPermissionFactory.CreateIdentityPermission(Evidence)

The identity permission for a strong name can be used to determine whether calling code is in a particular strong named code assembly.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft