EasyXLS

License File Setup

EasyXLS library uses a secured file for licensing. The default license file name is license.lic. The content of the license file must not be altered in any way or it will become invalid.

The license can be loaded from:
- the same folder where EasyXLS.dll or EasyXLS.jar file is
- a custom path on machine
- an input stream or a memory stream
- an embedded resource file
- an XML string

Setup license file for .NET version

Method 1: License file in default runtime directory

license.lic file must be present in the current directory of the application.

Some common samples of paths when developing in Visual Studio are:
- C:\MyProject\bin\Debug for .NET Framework or
- C:\MyProject\bin\Debug\netcoreapp for .NET Core

Optionally, license.lic file can be included in project and set the 'Copy to Output Directory' property as 'Copy always'.

EasyXLS license file C#, VB.NET EasyXLS license file properties - Copy always

If not sure about your current environment folder, you can use the code below to detect it:

C#.NET
VB.NET
C++.NET
Python

Method 2: License file near EasyXLS.dll

license.lic file must be placed in the same folder where EasyXLS.dll is present in the runtime environment.

Some common samples of paths when developing in Visual Studio are:
- C:\MyProject\bin\Debug for .NET Framework or
- C:\MyProject\bin\Debug\netcoreapp for .NET Core
- C:\MyProjectWeb\MyProjectWeb\bin for web projects

Optionally, license.lic file can be included in project and set the 'Copy to Output Directory' property as 'Copy always'.

EasyXLS license file C#, VB.NET EasyXLS license file properties - Copy always

If not sure about your runtime environment folder, you can use the code below to detect it:

C#.NET
VB.NET
C++.NET

Method 3: License file with a custom name or location

license.lic file can be renamed, but the new name must be set from your application. The renamed license file can be placed near EasyXLS.dll or loaded from a custom folder.

C#.NET
VB.NET
C++.NET
Python

Method 4: License from a stream

The license protection can be set from a stream. The stream can load the content of the license.lic from disk, can be a MemoryStream or any other System.IO.Stream, but its content must be identical with the content of license.lic file.

C#.NET
VB.NET
C++.NET

Method 5: License file as embedded resource

license.lic file must be included into the project and set the 'Build Action' property as 'Embedded Resource'.

EasyXLS license file in C#, VB.NET EasyXLS license file properties - Embedded Resource

If the license file is renamed, apply also the code from Method 3.

Method 6: License from XML string

The license protection can be set directly from the code without any additional license file using an XML string. The XML string must be identical with the content of the license.lic file.

C#.NET
VB.NET
C++.NET
Python

Setup license file for COM+ version

Method 1: License file near EasyXLS.dll

license.lic file must be placed in the same folder where EasyXLS.dll that was registered as COM+ component is present.

The default locations when using EasyXLS installer for registration are:
- C:\Program Files\EU Outsourcing\EasyXLS COM+ Professional v9.0\COM+ version\DLL or
- C:\Program Files (x86)\EU Outsourcing\EasyXLS COM+ Professional v9.0\COM+ version\DLL

If EasyXLS was installed on a different folder or EasyXLS.dll was manually registered from a different location, license.lic file must be placed near that specific EasyXLS.dll.

Your application must have reading permissions for the license file.

Method 2: License file with a custom name or location

license.lic file can be renamed, but the new name must be set from your application. The renamed license file can be placed near EasyXLS.dll or loaded from a custom folder.

Your application must have reading permissions for the license file.

PHP
ASP
C++
VB6
VBS

Method 3: License from XML string

The license protection can be set directly from the code without any additional license file using an XML string. The XML string must be identical with the content of the license.lic file.

PHP
ASP
C++
VB6
VBS

Setup license file for Java version

Method 1: License file in user working directory

license.lic file must be present in the working directory of the application where java command was run from.
EasyXLS license file Java
If not sure about your current working directory, you can use the code below to detect it:

Java
Coldfusion
PHP
Python

Method 2: License file near EasyXLS.jar

license.lic file must be placed in the same folder where EasyXLS.jar is present in the class path.

If not sure about where your EasyXLS.jar is located, you can use the code below to detect it:

Java
Coldfusion
PHP
Python

Method 3: License file with a custom name or location

license.lic file can be renamed, but the new name must be set from your application. The renamed license file can be placed near EasyXLS.jar or loaded from a custom folder.

Java
Coldfusion
PHP
Python

Method 4: License from a stream

The license protection can be set from a stream. The stream can load the content of the license.lic from disk, can be a java.io.ByteArrayInputStream or any other java.io.InputStream, but its content must be identical with the content of license.lic file.

Java
Coldfusion
PHP
Python

Method 5: License file as included resource

license.lic file must be included into the project.
include license file in java
Additionally, the license file can be included in a JAR file.

If the license file is renamed, apply also the code from Method 3.

Method 6: License from XML string

The license protection can be set directly from the code without any additional license file using an XML string. The XML string must be identical with the content of the license.lic file.

Java
Coldfusion
PHP
Python

Setup license file for OEM license

First, choose one of the previous methods that were explained above.

Then, specify the product name that was declared when the OEM license file was generated in the website:

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python

Renew license file

The license file for server license and developer license expires after two years and must be renewed with no additional costs.

After two years, a notification is sent to announce that the license file is about to expire. The notification will be sent to the owner of the license key and optionally to the email address provided when the license file was generated.

Renew license file

The trial license file expires after 30 days and cannot be renewed. Contact us at support@easyxls.com for a new trial license key.

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
COM+ Excel Component
full COM+ version to import, export or convert Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Download EasyXLS™ Excel Library for .NET

File formats:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT