How can check whether a specific user is deactivated(released) on server?

Comments

4 comments

  • Official comment
    Avatar
    Soraco

    If the license is not activated and there are licenses still available on the server,  ValidateLicenseOnServer will automatically consume a license and activate the computer.

    ValidateLicenseOnServerEx has an extra argument that allows you to control this behavior and not automatically reactivate the license.

    Comment actions Permalink
  • Avatar
    Dammika Prasad Wijethunga

    Thanks for the reply..

    I can't see "ValidateLicenseOnServerEx". Only i can see following..

     

    [SecuritySafeCritical]
    public string ValidateLicense(string licenseKey);
    [SecuritySafeCritical]
    public string ValidateLicenseEx(string licenseKey, string computerID);
    [SecuritySafeCritical]
    public string ValidateLicenseEx2(string licenseKey, string computerID, bool skipWrites, bool skipExpiryValidation);
    [SecuritySafeCritical]
    public string ValidateLicenseEx3(string licenseKey, ELicenseBinding licenseBinding, bool skipWrites, bool skipExpiryValidation);
    public bool ValidateLicenseOnServer(string webServiceUrl, string activationKey, string computerKey, string computerID, out EServerErrorCode errorCode, out string returnMsg);

    0
    Comment actions Permalink
  • Avatar
    Soraco

    This function was recently added. Please upgrade to the latest version.

    0
    Comment actions Permalink
  • Avatar
    Dammika Prasad Wijethunga

    Perfect.. I used 11.1.19032.2 version and it worked.. Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk