How to enter license key from command line
2 posts · Closed
We have just purchased a license. How should we use this license key with the portable edition of Network Scanner?
We need to do this from the command line, not the GUI.
Is there a license flag or a line in the config.xml? We won't be using the console, so there is no option to enter the key.
Please follow these steps:
- Create a file named netscan.lic and paste the below code into it.
- Paste your license key where indicated and save the file.
- Place this netscan.lic file in the same location as the netscan.exe file of your portable edition.
After this, each time netscan.exe is launched, it will pick up the license from netscan.lic.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<network-scanner-license>
<license>
[b]Copy your license key code
without the BEGIN/END tags
and paste it here.[/b]
</license>
<upgrade>0</upgrade>
<language>English</language>
<nmap/>
<autoupdate>
<prompt>false</prompt>
<enabled>false</enabled>
<lastcheck>0</lastcheck>
</autoupdate>
<darkmode>false</darkmode>
</network-scanner-license>