SL_GENUINE_STATE enumeration (slpublic.h)

Specifies the state of an application installation.

Syntax

typedef enum _SL_GENUINE_STATE {
  SL_GEN_STATE_IS_GENUINE = 0,
  SL_GEN_STATE_INVALID_LICENSE,
  SL_GEN_STATE_TAMPERED,
  SL_GEN_STATE_OFFLINE,
  SL_GEN_STATE_LAST
} SL_GENUINE_STATE;

Constants

 
SL_GEN_STATE_IS_GENUINE
Value: 0
The installation is genuine.
SL_GEN_STATE_INVALID_LICENSE
The application does not have a valid license.
SL_GEN_STATE_TAMPERED
The Tampered flag of the license associated with the application is set.
SL_GEN_STATE_OFFLINE
The Offline flag of the license associated with the application is set.
SL_GEN_STATE_LAST
The state of the installation has not changed since the last time it was checked.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header slpublic.h