Share via


SerialNumber Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the serial number of a certificate.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public ReadOnly Property SerialNumber As String
public string SerialNumber { get; }
public:
property String^ SerialNumber {
    String^ get ();
}
member SerialNumber : string with get
function get SerialNumber () : String

Property Value

Type: System. . :: . .String
The serial number of the certificate.

Remarks

The serial number of the certificate is part of the original X.509 protocol. The serial number is a unique number issued by the certificate issuer, which is also called the Certificate Authority (CA).

.NET Framework Security

See Also

Reference

X509Certificate2 Class

System.Security.Cryptography.X509Certificates Namespace