CryptoSys PKI Pro Manual

PKI_LicenceType

Returns the ASCII value of the licence type.

VBA/VB6 Syntax

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

nRet = PKI_LicenceType(nReserved)

C/C++ Syntax

long __stdcall PKI_LicenceType(long nOptions);

Parameters

nOptions
[in] not used in this release. Specify zero.

Returns (VBA/C)

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

VBA Wrapper Syntax

Public Function pkiLicenceType (Optional nOptions As Long = 0) As String

.NET Equivalent

General.LicenceType Method

C++ (STL) Equivalent

static std::string dipki::Gen::LicenceType ()

Python Equivalent

static Gen.licence_type()

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]

[PREV: PKI_LastError...]   [Contents]   [Index]   
   [NEXT: PKI_ModuleInfo...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.