CryptoSys API Library Manual

API_LicenceType

API_LicenceType returns the ASCII value of the licence type.

VB6/VBA Syntax

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

nRet = API_LicenceType(nReserved)

Parameters

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

C/C++ Syntax

long _stdcall API_LicenceType(long nOptions);

Returns (VB6/C)

Long: Returns the ASCII value of the licence type: "D" (68, 0x44) for the Developer Version, "P" (80, 0x50) for the Personal Version, or "S" (83, 0x53) for the Server Trial Version..

.NET Equivalent

General.LicenceType Method

COM/ASP Equivalent

gen.LicenceType
Public Function LicenceType() As String

See gen.LicenceType.

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]

[HOME]   [NEXT: API_ModuleName...]

Copyright © 2001-9 D.I. Management Services Pty Ltd. All rights reserved.