3.25. nhsrv.ini
You can specify some HASP License Manager settings using the nhsrv.ini configuration file.
File location:
- On Windows: this file is searched in various directories in the following order:
- Directory where the executable file of HASP License Manager is located.
- Current Windows directory.
- Microsoft Windows system directory: %SYSTEMROOT%\system32 for the 32-bit version and %SYSTEMROOT%\SysWOW64 for the 64-bit version.
- %SYSTEMROOT% Microsoft Windows directory.
- The directories listed in the PATH environment variable (only when installing the HASP License Manager as a Microsoft Windows application).
In the OS Windows, it is recommended to place the nhsrv.ini file, if necessary, in the directory where the HASP License Manager executable file is located. Verifying that the HASP License Manager found and read the configuration file is possible using the log Activity Log/Server Activity Log.
- On Linux: specify location of the nhsrv.ini configuration file using the -c parameter. The default configuration file location is undefined.
The HASP License Manager is configured using the settings of various parameters in the [NHS_SERVER] section of the nhsrv.ini file:
NHS_IP_LIMIT
Values: <ipAddr>, <ipAddr>,...
Defines the range of network stations served by the HASP License Manager. For example: 10.1.1.1, 10.1.1.*,10.1.1.1/32, 10.1.1.1/24.
NHS_ADAPTER
Values: <ipAddrSubMask>,<ipAddrSubMask>,...
Specifies the IP address of one or more network cards to be served by the HASP License Manager. It is used when using the HASP License Manager with Win32. For example: 10.1.1.111, 255.255.0.0.
NHS_USERLIST
Maximum number of users simultaneously connected to the HASP License Manager. The default value is 250.