StrongNameIdentityPermission.PublicKey 属性

定义

获取或设置定义强名称标识命名空间的公钥 blob。

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,或者,如果没有任何密钥,则为 null

例外

将属性值设置为 null

无法检索此属性值,因为它包含的标识不明确。

适用于