Same as
System.Security.Cryptography.X509Certificates.X509Certificate.GetSerialNumber. Returns the serial number of the PKI certificate as an array of bytes in little-endian order.
'Declaration
<NotNullAttribute()>
Function GetSerialNumberByteArray() As Byte()
'Usage
Dim instance As IPkiCertificate
Dim value() As Byte
value = instance.GetSerialNumberByteArray()
[NotNull()]
byte[] GetSerialNumberByteArray()
[NotNull()]
array<byte>^ GetSerialNumberByteArray();
Return Value
The serial number of the PKI certificate as an array of bytes in little-endian order.
This method never returns null
(Nothing
in Visual Basic).
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also