RoboLicenseStatusMethod to obtain status of the Robo-FTP license

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Using Robo-FTP > Using COM/OLE to Control Robo-FTP > COM Methods >

RoboLicenseStatusMethod to obtain status of the Robo-FTP license

 

Overview

Method to obtain the current status of the Robo-FTP license (i.e., active, removed, evaluation, failed).

 

C++ Definition

long RoboLicenseStatus()

 

VB Definition

RoboLicenseStatus() As Long

 

C# Definition

Int RoboLicenseStatus()

 

VB.NET Definition

RoboLicenseStatus() As Integer

 

Return Value

A numeric value indicating the status of the Robo-FTP license. The possible return values are shown below.

 

Constant Value

Value

Description

LIC OKAY

0

The Robo-FTP license is active.

LIC_EVALMODE

1

Robo-FTP is unlicensed in 30-day evaluation mode.

LIC_FAILED

2

Robo-FTP is unlicensed.

LIC_REMOVED

3

Robo-FTP was previously licensed but the license was removed.

LIC_EXPIRED

4

Robo-FTP is unlicensed and the 30-day evaluation period has expired.

 

Remarks

The RoboStartSession() method must be called prior to calling RoboLicenseStatus().

 

Related command(s): RoboActivateLicense, RoboRemoveLicense

See also: Robo-FTP License Activation