PublisherIdentityPermission.Certificate 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置表示软件发行者的身份的 Authenticode X.509v3 证书。
public:
property System::Security::Cryptography::X509Certificates::X509Certificate ^ Certificate { System::Security::Cryptography::X509Certificates::X509Certificate ^ get(); void set(System::Security::Cryptography::X509Certificates::X509Certificate ^ value); };
public System.Security.Cryptography.X509Certificates.X509Certificate Certificate { get; set; }
member this.Certificate : System.Security.Cryptography.X509Certificates.X509Certificate with get, set
Public Property Certificate As X509Certificate
属性值
表示软件发布者的身份的 X.509 证书。
例外
Certificate 为 null
。
Certificate 不是有效的证书。
不能设置该属性,因为其标识不明确。