System.Security.Permissions.PublisherIdentityPermissionAttribute.X509Certificate Property

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

Syntax

public string X509Certificate { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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).

Requirements

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