Namespace EasyXLS

Class License

System.Object
EasyXLS.License

public class License extends System.Object
This class stores the license information. If no information is supplied, the license is search in default locations extends near EasyXLS.dll or as embedded resource.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Defines an instance of the license setup.
  • Method Summary

    Modifier and Type
    Method
    Description
    System.String
    Returns the license file name.
    System.String
    Returns the license file path, if available.
    System.IO.Stream
    Returns the license file stream, if available.
    System.String
    Returns the machine name where EasyXLS runs.
    System.String
    Returns the product name that is licensed with the OEM license key
    void
    setLicenseFile​(System.String name)
    Sets the license file name.
    void
    setLicenseFilePath​(System.String path)
    Sets the license file path.
    void
    setLicenseFromXMLString​(System.String xmlString)
    Sets the license file path.
    void
    setLicenseStream​(System.IO.Stream streamLicense)
    Sets the license file as stream.
    void
    setProductName​(System.String product)
    Sets the product name for the OEM license key

    Methods inherited from class System.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait