Redigera

Dela via


AssemblySignatureKeyAttribute(String, String) Constructor

Definition

Creates a new instance of the AssemblySignatureKeyAttribute class by using the specified public key and countersignature.

public:
 AssemblySignatureKeyAttribute(System::String ^ publicKey, System::String ^ countersignature);
public AssemblySignatureKeyAttribute (string publicKey, string countersignature);
new System.Reflection.AssemblySignatureKeyAttribute : string * string -> System.Reflection.AssemblySignatureKeyAttribute
Public Sub New (publicKey As String, countersignature As String)

Parameters

publicKey
String

The public or identity key.

countersignature
String

The countersignature, which is the signature key portion of the strong-name key.

Remarks

Use Sn.exe to generate the parameters for this constructor.

sn -a IdentityPubKey.snk IdentityKey.snk SignaturePubKey.snk  

Applies to