SKM.V3.AccountsVersion: 4.0.54. Both packages; all six documented target frameworks.
Constructors
UserAccount()
Creates an empty UserAccount object. This constructor does not send an API request.Methods
GetLicenseKeys(string, string, string, int, string, string)
Requests customer-account authorization and retrieves that account’s licenses.
Returns:
GetLicenseKeysResult. A GetLicenseKeysResult object containing Licenses, an optional LicenseKeyToken and an Error field.
Checks: Verifies the signature over the returned license list, activated machine codes and signing date. It does not replace application-specific license checks.
Failure Behavior: Authorization timeout and handled retrieval or signature errors are reported through Error. Malformed Base64, JSON or authorization inputs can throw.
When no existing access token is supplied, this flow asks the customer to authorize the application and can wait for approximately five minutes. Reuse LicenseKeyToken through existingToken after a retrieval failure. This is separate from UserAuth.Login, which accepts a username and password.
.NET SDK Reference · Reviewed Source Revision