{AA04CA0B-7597-4F3E-99A8-36712D13D676}

LicensingStateTools Class

  • AppID: {6D9A7A40-DDCA-414E-B48E-DFB032C03C1B}

Registry

InprocServer32

C:\Windows\system32\sppcomapi.dll
  • ThreadingModel: Free

ProgID

SppComApi.LicensingStateTools.1

TypeLib

{B0C2A63F-AFF8-40E3-B42D-8A542DC909EC}

VersionIndependentProgID

SppComApi.LicensingStateTools

Instance

  • Type: ComObject

Methods

  • InstallProofOfPurchase: void InstallProofOfPurchase (string)
  • ConsumeWindowsRight: void ConsumeWindowsRight (uint)

Properties

  • LicensingState: ILicensingStatusData LicensingState () {get}
  • SystemStateFlags: tagSYSTEM_STATE_FLAGS SystemStateFlags () {get}
  • ActiveLicenseChannel: tagE_LICENSING_CHANNEL ActiveLicenseChannel () {get}
  • ProductKeyType: string ProductKeyType () {get}
  • IsTimebasedKeyInstalled: int IsTimebasedKeyInstalled () {get}
  • LicensingSystemDate: Date LicensingSystemDate () {get}
  • DefaultKeyFromRegistry: string DefaultKeyFromRegistry () {get}
  • IsLocalGenuine: bool IsLocalGenuine () {get}

MIT License. Copyright (c) 2021 Strontic.