CryptoSys API examples VB6 to VB.NET

API_LicenceType

Returns the ASCII value of the licence type.

VB6/VBA

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

Output

Testing API_LicenceType ...
API_LicenceType is D

VB.NET

Console.WriteLine("Testing API_LicenceType ...")
Console.WriteLine("API_LicenceType is " & General.LicenceType)

[Contents]

[HOME]   [NEXT: API_PowerUpTests...]

Copyright © 2009-20 D.I. Management Services Pty Ltd. All rights reserved.