System.Security.Permissions.PublisherIdentityPermissionAttribute.X509Certificate Property

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


public string X509Certificate { get; set; }


Documentation for this section has not yet been entered.


If this property is set, PublisherIdentityPermissionAttribute.CertFile and PublisherIdentityPermissionAttribute.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).


Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,