10.2.9. Setting up the 1C:Enterprise application for operation with the HASP License Manager
The 1C:Enterprise application is capable of using IPX, TCP/IP, or NetBIOS network protocols to communicate with the HASP License Manager. By default, the network protocol is defined automatically. This mode is always recommended, except when the automatic network protocol detection and communication setup mode is unstable or causes significant delays.
NOTE. The HASP License Manager is always accessed made via UDP. Specifying the TCP/IP protocol in the nethasp. ini file is ignored.
To configure the parameters of the interaction of the 1C:Enterprise application with the HASP License Manager, the configuration file nethasp.ini is used (see article nethasp.ini).
Example of nethasp.ini file:
[NH_COMMON] NH_TCPIP=Enabled [NH_TCPIP] NH_SERVER_ADDR=192.168.0.12 NH_PORT_NUMBER=475 NH_TCPIP_METHOD=UDP NH_USE_BROADCAST=Disabled
In this example, the protection server is located on the network at 192.168.0.12, the network port 475 is used, UDP packets are used, and the TCP/IP broadcast mechanism is denied.
When installing the 1C:Enterprise application, the sample file nethasp.ini is copied to the directory of the configuration files of the 1C:Enterprise application. This file is almost entirely composed of commented lines and does not override the default settings in any way but it contains at the same time the most complete list of parameters that can be used to configure the interaction of the 1C:Enterprise system with the HASP License Manager.