CryptoSys PKI Toolkit Manual

X509.CertSerialNumber Method

Returns serial number in hex format

Syntax

[C#]
public static string CertSerialNumber(
	string certFile
)
[VB.NET]
Public Shared Function CertSerialNumber ( _
	certFile As String _
) As String

Parameters

certFile
Filename of certificate file (or its base64 representation)

Return Value

Serial number in hex format or Empty string if error

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: X509_CertSerialNumber

[Contents] [Index]

[HOME]   [NEXT: X509.CertSubjectName Method...]

Copyright © 2004-10 D.I. Management Services Pty Ltd. All rights reserved.