AcquireGenuineTicket method of the SoftwareLicensingService class

Acquires a genuine ticket online.

Syntax

uint32 AcquireGenuineTicket(
  [in] string TemplateId,
  [in] string ServerUrl
);

Parameters

TemplateId [in]

Specifies the template ID.

ServerUrl [in]

Specifies the server URL.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll

See also

SoftwareLicensingService