StrongName.CreateIdentityPermission(Evidence) StrongName.CreateIdentityPermission(Evidence) StrongName.CreateIdentityPermission(Evidence) Method

Definition

Creates a StrongNameIdentityPermission that corresponds to the current StrongName.

public:
 virtual System::Security::IPermission ^ CreateIdentityPermission(System::Security::Policy::Evidence ^ evidence);
public System.Security.IPermission CreateIdentityPermission (System.Security.Policy.Evidence evidence);
abstract member CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission
override this.CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission

Parameters

evidence
Evidence Evidence Evidence

The Evidence from which to construct the StrongNameIdentityPermission.

Returns

Implements

Remarks

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

Applies to