Could you explain the difference between DetectionMethod 'LocalOrNetworkKey' vs. 'NetworkOrLocalKey' of the KeyCheck .NET Component?
Both methods 'LocalOrNetworkKey' vs. 'NetworkOrLocalKey' will detect either Local or Network Key. The difference is that:
The LocalOrNetworkKey method checks the Local Key first. If it is not available, the method checks the Network Key. If the Network Key is not available for any reason, e.g. no network connection, no license server, the method comes back to create the Local Key automatically on the local machine.
The NetworkOrLocalKey method checks the Network Key first. If it is not available for any reason, e.g. no network connection, no license server, the method checks the Local Key. If the Local Key is not available, the method comes back to check the Network Key. When the Network Key configuration file is configured, the method can also create the Network Key on the specified server.
If you want to create one setup for both Local and Network Key. Here is a suggestion: use the LocalOrNetworkKey method. You must also create the Register.exe for Network Key to be distributed along with the application.
In the local license scenario, the user simply runs the application. It will not find the license server. The application then creates the Local Key automatically. The registration dialog pops up allowing the user to register for local license.
In the network license scenario, the NetKey License Server must be deployed first within the user's network. Then, the user can run the provided Register.exe for Network Key to register the network license. Once this is ready, when the user runs the application, it will not find the Local Key. Then, it checks and found the Network Key on the license server.