Fields
| Name | Type | Description |
|---|---|---|
TicketId | int | The ID of the ticket. |
LicenseNumber | string | The license number. |
StationType | int | The type of the station. For possible values, see WorkstationType. Use the WT_Verification and WT_Validation values instead of WT_RemoteDataVerification and WT_RemoteVerification respectively. |
ExpirationDate | long | The date and time when the license expires, as a FILETIME value. To convert the value, use the conversion example after this table. |
ExpirationPeriod | long | The license term, which starts upon license activation. To convert the value, use the conversion example after this table. |
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. |
ExpirationDate and ExpirationPeriod between long and DateTime in C# as follows:
DateTime dTime;
long lTime;
...
// conversion from long to DateTime
dTime = DateTime.FromFileTime(lTime);
...
// conversion from DateTime to long
lTime = dTime.ToFileTime();
