WLGenPassword

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Generators Functions >

WLGenPassword

The WLGenPassword function generates a specific password for a given user name.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic function definition
Click to expand/collapseShow C# (.NET) function definition

 

Parameters

 

pPassHash

[in] Pointer to a null-terminated string that specifies the unique Password hash to generate specific passwords for an application.

 

pUserName

[in] Pointer to a null-terminated string that specifies the user name for whom the password is generated.

 

pBufferOut

[out] Pointer to a buffer that will hold the generated password for the specified user.

 

 

Return Values

 

If the function succeeds, the return value is the number of bytes in the generated password.

 

If the function fails, the return value is 0.

 

 

See Also

 

WLValidatePassword