X509Certificate2.GetSerialNumber Method

Returns the serial number of the X.509v3 certificate.

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

Syntax

public virtual byte [] GetSerialNumber ()

Return Value

The serial number of the X.509 certificate as an array of bytes.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

X509Certificate2 Class
X509Certificate2 Members
System.Security.Cryptography.X509Certificates Namespace