Skip to content

Commit 145c8db

Browse files
authored
Update netlicensing_client_demo.cc
1 parent 5a66a86 commit 145c8db

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

client_demo/netlicensing_client_demo.cc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ int main(int argc, char* argv[]) {
2222

2323
try {
2424
Context ctx;
25-
ctx.set_base_url("https://go.netlicensing.io/core/v2/rest/");
26-
ctx.set_username("demo");
27-
ctx.set_password("demo");
25+
ctx.set_base_url("https://go.netlicensing.io/core/v2/rest/"); // NetLicensing base URL
26+
ctx.set_username("demo"); // Vendor username at netlicensing.io
27+
ctx.set_password("demo"); // Vendor password at netlicensing.io
2828

2929
if (licensee_number.empty()) {
3030
do
3131
{
32-
std::cout << "Please enter a valid licensee number for validation (choose licensee in demo account): " << std::endl;
32+
// Licensee is a holder of licenses. This can be an individual or organisation, but not necessarily the end-user.
33+
// LicenseeNumber - arbitrary sequence of printable ASCII characters that uniquely identify an licensee within NetLicensing
34+
// e.g. Licensee number can be email ID, hardware tocken, IMEI number, etc.
35+
std::cout << "Please enter a valid licensee number: " << std::endl;
3336
std::getline(std::cin, licensee_number);
3437

3538
} while (licensee_number.empty());

0 commit comments

Comments
 (0)