AssemblySignatureKeyAttribute(String, String) 建構函式

定義

使用指定的公開金鑰和副署,建立 AssemblySignatureKeyAttribute 類別的新執行個體。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)

參數

publicKey
String

公開或識別金鑰。The public or identity key.

countersignature
String

副署,也就是強式名稱金鑰的簽章金鑰部分。The countersignature, which is the signature key portion of the strong-name key.

備註

使用 Sn.exe 來產生此函式的參數。Use Sn.exe to generate the parameters for this constructor.

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

適用於