AssemblySignatureKeyAttribute(String, String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過使用指定的公鑰與反簽名建立該類別的新實例 AssemblySignatureKeyAttribute 。
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
公開或身份金鑰。
- countersignature
- String
副簽名,也就是強名字鍵的簽名鍵部分。
備註
使用 Sn.exe 來產生這個建構子的參數。
sn -a IdentityPubKey.snk IdentityKey.snk SignaturePubKey.snk