English (English) - Change language

TicketInfo

What it does

The TicketInfo data type stores information about the licensing ticket.

Fields

Name Type Description
TicketId int The ID of the ticket
LicenseNumber string The license number
StationType int

The type of the station. See WorkstationType for possible values.

Note: Use the WT_Verification and the WT_Validation values instead of the WT_RemoteDataVerification and the WT_RemoteVerification ones respectively.

ExpirationDate long

The date and time when the license expires.

Use the following methods for conversion (C#):

DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversion from long to DateTime
lTime = dTime.ToFileTime();
        
ExpirationPeriod long

The license term (starts upon license activation).

Use the following methods for conversion (C#):

DateTime dtTime;
long lTime;
...
// conversion from DateTime to long
dTime = DateTime.FromFileTime(lTime);
...
// conversion from long to DateTime
lTime = dTime.ToFileTime();
        
AvailableModules unsigned int The modules available for the license
IssuedForSessionId int The ID of the session during which the ticket was created
CustomFeature LicenseCustomFeature[] The custom license parameters
Signature string The signature of the ticket

9/15/2020 9:42:43 AM


Please leave your feedback about this article