StrongName.CreateIdentityPermission Method (Evidence)

 

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.

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
Available since 1.1
Return to top
Show: