Redigeeri

Jagamisviis:


PublisherIdentityPermissionAttribute.X509Certificate Property

Definition

Gets or sets an Authenticode X.509v3 certificate that identifies the publisher of the calling code.

public:
 property System::String ^ X509Certificate { System::String ^ get(); void set(System::String ^ value); };
public string X509Certificate { get; set; }
member this.X509Certificate : string with get, set
Public Property X509Certificate As String

Property Value

A hexadecimal representation of the X.509 certificate.

Remarks

If this property is set, CertFile and SignedFile are ignored.

You can obtain the hexadecimal representation by running the Strong Name tool (Sn.exe) with the token and public key options (Sn -tp keyfile) against a file that has an Authenticode signature. For more information, see Sn.exe (Strong Name Tool).

Applies to