共用方式為


StrongNameMembershipCondition.PublicKey 屬性

定義

取得或設定用來測試成員資格條件的 StrongNamePublicKeyBlobStrongName

public:
 property System::Security::Permissions::StrongNamePublicKeyBlob ^ PublicKey { System::Security::Permissions::StrongNamePublicKeyBlob ^ get(); void set(System::Security::Permissions::StrongNamePublicKeyBlob ^ value); };
public System.Security.Permissions.StrongNamePublicKeyBlob PublicKey { get; set; }
member this.PublicKey : System.Security.Permissions.StrongNamePublicKeyBlob with get, set
Public Property PublicKey As StrongNamePublicKeyBlob

屬性值

StrongNamePublicKeyBlob

用來測試成員資格條件的 StrongNamePublicKeyBlobStrongName

例外狀況

嘗試將 PublicKey 設定為 null

備註

Blob 是唯一指定軟體發行者公開金鑰的密碼編譯資訊。

Blob 與憑證不同,因為 Blob 只有公開金鑰的相關資訊;憑證也包含將持有者名稱與金鑰產生關聯的資訊,以及驗證憑證的資訊。

適用於