Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateIdentityPermission Method

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