CryptoSys PKI Toolkit Manual

PKI_LicenceType

Returns the ASCII value of the licence type.

VB6/VBA Syntax

Public Declare Function PKI_LicenceType Lib "diCrPKI.dll" (ByVal nReserved As Long) As Long

nRet = PKI_LicenceType(nReserved)

Parameters

nReserved
[in] Long not used in this release. Specify zero.

C/C++ Syntax

long _stdcall PKI_LicenceType(long reserved);

Returns (VB6/C)

Long: Returns the ASCII value of the licence type, either "D" (68, 0x44) for the Developer Version or "T" (84, 0x54) for the Trial Version.

.NET Equivalent

General.LicenceType Method

Remarks

Note the Australian/English spelling of `Licence'.

Example

    Dim nRet As Long
    nRet = PKI_LicenceType(0)
    Debug.Print "PKI_LicenceType is " & Chr(nRet)
PKI_LicenceType is D

See Also

PKI_Version PKI_CompileTime

[Contents] [Index]

[HOME]   [NEXT: PKI_ModuleName...]

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