SL_GENUINE_STATE enumeration

Specifies the state of an application installation.

Syntax


typedef enum _SL_GENUINE_STATE { 
  SL_GEN_STATE_IS_GENUINE       = 0,
  SL_GEN_STATE_INVALID_LICENSE  = 1,
  SL_GEN_STATE_TAMPERED         = 2,
  SL_GEN_STATE_OFFLINE          = 3,
  SL_GEN_STATE_LAST             = 4
} SL_GENUINE_STATE;

Constants

SL_GEN_STATE_IS_GENUINE

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Slpublic.h

 

 

Show: