Freigeben über


SetKeyManagementServicePort method of the SoftwareLicensingService 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 TCP port to set. 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

SoftwareLicensingService