License Generation

Activate Api2File with a trial or full license

Quick Start: Trial License

Get a 7-day free trial license in one step—no credit card required

Generate Trial License

Full License (This Guide)

Generate production licenses from your account—instructions below

Note:

Api2File must be installed before you can generate a license.

Select your platform:

Step 1: Get Your Device ID

Each server has a unique Device ID required for license generation. Run the Device ID utility on your target server to retrieve this identifier.

On Windows

Run these commands in Command Prompt:

cd "C:\Program Files\API2File"
Api2File.DeviceId.Cli.exe
Example: Device ID Output (Windows)
Api2File.DeviceId v1.0.0

╔═══════════════════════════════════╦══════════════════════════════════════════════════════════╗
║ OS                                │ Device Identifier                                        ║
╠───────────────────────────────────┼──────────────────────────────────────────────────────────╣
║ Microsoft Windows NT 10.0.19045.0 │ A2FTZFBMQTAD7GTYWMXD3EXAMPLEG86NYAGYKYD16EA1H3H1JE9BYZ03 ║
╚═══════════════════════════════════╩══════════════════════════════════════════════════════════╝

Use the Device Identifier above at https://www.api2file.net/account to generate license files.

✓ Copy the Device Identifier (the long alphanumeric string) and save it—you'll need it in Step 2.

On Linux

Run these commands in your terminal:

cd /opt/api2file
./Api2File.DeviceId.Cli
Example: Device ID Output (Linux)
Api2File.DeviceId v1.0.0

╔═══════════════════════════════════╦══════════════════════════════════════════════════════════╗
║ OS                                │ Device Identifier                                        ║
╠───────────────────────────────────┼──────────────────────────────────────────────────────────╣
║ Linux 5.15.0-91-generic           │ B3GUAHCNRUEB8HUAZNYEXAMPLEH97OBZHBLZE27FB2I4I2KF0CA04 ║
╚═══════════════════════════════════╩══════════════════════════════════════════════════════════╝

Use the Device Identifier above at https://www.api2file.net/account to generate license files.

✓ Copy the Device Identifier (the long alphanumeric string) and save it—you'll need it in Step 2.

Coming Soon

Docker container support is currently in development.

Step 2: Generate License

Use your Device ID to generate licenses through your account.

1

Log in to your account page

2

Scroll to the license generator section at the bottom of the page

3

Paste your Device ID and generate your license file

4

Download the .lic file to your computer

Step 3: Install License

Copy the .lic file to your server's license directory.

Default License Location

Place your .lic file in the licenses directory within your Api2File installation:

Windows:

C:\Program Files\API2File\licenses\

Linux:

/opt/api2file/licenses/

Note: The license directory location can be customized in AppSettings.json

License Installed!

Api2File will automatically detect and load the license on startup.

< Previous topic
Install
 
Next topic >
Configure