CryptoSys API Library Manual

API_LicenceType

Returns the ASCII value of the licence type.

VBA/VB6 Syntax

Public Declare Function API_LicenceType Lib "diCryptoSys.dll" (ByVal nOptions As Long) As Long

nRet = API_LicenceType(nOptions)

C/C++ Syntax

long __stdcall API_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" (ASCII 68, 0x44) for the Developer Edition or "T" (ASCII 84, 0x54) for the Trial Edition.

.NET Equivalent

General.LicenceType Method

COM/ASP Equivalent

gen.LicenceType
Public Function LicenceType() As String

See gen.LicenceType.

C++ (STL) Equivalent

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

Python Equivalent

static Gen.licence_type()

Remarks

Note the Australian/British spelling of `Licence'.

Example

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

See Also

API_Version API_CompileTime

[Contents] [Index]

[PREV: API_ErrorLookup...]   [Contents]   [Index]   
   [NEXT: API_ModuleInfo...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.