Class EPPlusLicense¶
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Represents a class to set the license
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Constructors¶
EPPlusLicense()¶
Properties¶
ExtendUnderRenewal¶
If your subscription has expired past the LicenseValidTo date, you can set this flag to get a 15 additional days to renew the license.
Property Value¶
LegalName¶
The name used for a commercial organization
Property Value¶
LicenseInfo¶
License information from the license key. If no license key has been set, this property contains null.
Property Value¶
LicenseKey¶
The license key used for a commercial license.
Property Value¶
LicenseType¶
The type of license used.
Property Value¶
Source¶
The source where the license was set.
Property Value¶
Methods¶
RemoveActiveLicense()¶
Removes the active license.
SetCommercial(string)¶
If you use EPPlus within a commercial organization or for commercial purposes. This requires a license for EPPlus that can be purchased at https://epplussoftware.com
Parameters¶
licenseKey string
The license key you received with your license.
See Also¶
https://epplussoftware.com/en/Home/GettingStartedLicenseKey
SetNonCommercialOrganization(string)¶
Use this option if you use EPPlus within a noncommercial organization. Using this option will tag all created document with the Polyform Noncommercial license. https://polyformproject.org/licenses/noncommercial/1.0.0/
Parameters¶
organizationName string
The noncommercial organizations name
SetNonCommercialPersonal(string)¶
Use this license if you use EPPlus for personal noncommercial usage. Using this option will tag all created document with the Polyform Noncommercial license. See https://polyformproject.org/licenses/noncommercial/1.0.0/
Parameters¶
fullName string
Your name. This name will go into the Office Properties