WLHardwareGetFormattedID

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Miscellaneous Functions >

WLHardwareGetFormattedID

The WLHardwareGetFormattedID retrieves a formatted hardware ID for the current machine. This function should be used instead of WLHardwareGetID when a developer needs a specially formatted hardware ID in his application.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

NumCharsTogether

[in] This parameter specifies the number of characters between dashes ('-').

 

Uppercase

[in] This parameter specifies if the hardware ID must be given in uppercase.

 

pHardwareId

[out] Pointer to a buffer that will receive a null-terminated string with the formatted hardware ID for the current machine.

 

 

Return Values

 

If the function succeeds, the return value is True.

 

If the function fails, the return value is False.

 

 

See Also

 

WLHardwareCheckID, WLHardwareGetID