StrongName.CreateIdentityPermission Method (Evidence)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: