Search Results for

    Show / Hide Table of Contents

    Interface ILicenses

    Gives access to methods to read and interact with licenses.

    Namespace: TopSolid.Kernel.Automating
    Assembly: cs.temp.dll.dll
    Syntax
    [AvailableSinceVersion(7, 16, 400, 20)]
    public interface ILicenses
    Remarks

    This interface is available since v7.16.

    Methods

    ActivateLicense(License)

    Activates a license.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    void ActivateLicense(License inLicense)
    Parameters
    Type Name Description
    License inLicense

    License to activate.

    Remarks

    This method is available since v7.16.

    AddFloatingLicense(License)

    Adds a floating license.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    void AddFloatingLicense(License inLicense)
    Parameters
    Type Name Description
    License inLicense

    Floating license to add.

    Remarks

    This method is available since v7.16.

    DeactivateLicense(License)

    Deactivates a license.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    void DeactivateLicense(License inLicense)
    Parameters
    Type Name Description
    License inLicense

    License to activate.

    Remarks

    This method is available since v7.16.

    GetActveLicenses()

    Gets the active licenses.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    List<License> GetActveLicenses()
    Returns
    Type Description
    List<License>

    Active licenses.

    Remarks

    This method is available since v7.16.

    GetFloatingLicenseServers()

    Gets the floating license servers.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    string GetFloatingLicenseServers()
    Returns
    Type Description
    String

    Floating license servers name or IP address, in string format: "IPAddress1;IPAddress2;...".

    Remarks

    This method is available since v7.16.

    GetLicenses()

    Gets all licenses.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    List<License> GetLicenses()
    Returns
    Type Description
    List<License>

    All licenses.

    Remarks

    This method is available since v7.16.

    GetUsedFloatingLicenses()

    Gets used floating licenses.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    List<License> GetUsedFloatingLicenses()
    Returns
    Type Description
    List<License>

    Used floating licenses.

    Remarks

    This method is available since v7.16.

    SetFloatingLicenseServer(String)

    Sets the floating license server.

    Declaration
    [AvailableSinceVersion(7, 16, 400, 20)]
    void SetFloatingLicenseServer(string inIPAddressOrName)
    Parameters
    Type Name Description
    String inIPAddressOrName

    Server IP address or server name.

    Remarks

    This method is available since v7.16.

    In This Article
    • Methods
      • ActivateLicense(License)
      • AddFloatingLicense(License)
      • DeactivateLicense(License)
      • GetActveLicenses()
      • GetFloatingLicenseServers()
      • GetLicenses()
      • GetUsedFloatingLicenses()
      • SetFloatingLicenseServer(String)
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2024 TopSolid - All rights reserved.