CryptoSys PKI Toolkit Manual

PKI_CompileTime

PKI_CompileTime retrieves the date and time the toolkit executable was last compiled.

VB6/VBA Syntax

Public Declare Function PKI_CompileTime Lib "diCrPKI.dll" (ByVal strCompiledOn As String, ByVal nStrLen As Long) As Long

nRet = PKI_CompileTime(strCompiledOn, nStrLen)

Parameters

strCompiledOn
[out] String to receive the date and time string.
nStrLen
[in] Long specifying the maximum length of the string to be copied.

C/C++ Syntax

long _stdcall PKI_CompileTime(char *szTimestamp, long nLen);

Returns (VB6/C)

Long: If successful, the return value is the number of characters in the output string; otherwise it returns a negative error code.

.NET Equivalent

General.CompileTime Method

Remarks

Example

Dim nLen As Long
Dim strCompiledOn As String

strCompiledOn = String(255, " ")
nLen = PKI_CompileTime(strCompiledOn, Len(strCompiledOn))
strCompiledOn = Left(strCompiledOn, nLen)
Debug.Print "PKI_CompileTime returns " & nLen & " [" & strCompiledOn & "]"

See Also

PKI_Version

[Contents] [Index]

[HOME]   [NEXT: PKI_ErrorCode...]

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