Share via


SetKeyManagementServicePort method of the SoftwareLicensingProduct class

Sets the TCP port used by a client to make requests of a KMS host.

Syntax

uint32 SetKeyManagementServicePort(
  [in] uint32 PortNumber
);

Parameters

PortNumber [in]

Specifies the port number to use for the requests. If no port is specified, port 1688 is used by default.

Requirements

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

See also

SoftwareLicensingProduct