Partager via


PublisherIdentityPermissionAttribute.X509Certificate Propriété

Définition

Obtient ou définit un certificat Authenticode X.509v3 qui identifie l'éditeur du code appelant.

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

Valeur de propriété

String

Représentation hexadécimale du certificat X.509.

Remarques

Si cette propriété est définie CertFile et SignedFile est ignorée.

Vous pouvez obtenir la représentation hexadécimale en exécutant l’outil Strong Name (Sn.exe) avec les options de jeton et de clé publique (Sn -tp keyfile) ) sur un fichier qui a une signature Authenticode. Pour plus d’informations, consultez Sn.exe (outil Strong Name).

S’applique à