Thank you for your purchase.
The following tutorial will help you configure your application correctly and put the license file in appropriate place.
License file ("WhoisLicense.xml" you received after purchase via email or download link) is loaded from the run folder of your application (AppDomain.CurrentDomain.BaseDirectory).
"WhoisLicense.xml" should be in the root folder of your web application (the folder with the "web.config" file).
"WhoisLicense.xml" should be in the run folder of your windows service. By default it is 'c:\Windows\System32' or 'c:\WINNT\System32' folder.
Please use the LicenseHelper described below to check the exact path.
Remember also that your application needs to have read access to this file. It is especially important when, for example, you are developing WindowsService that runs on specific Windows account.
Library uses following code to assert that it has permissions to read the file:
You can use LicenseHelper class to obtain the exact path, and the current status of the license:
License file is read once per application-run, so remember to restart your application after placing the file in appropriate folder.
In rare cases when you use impersonation you'll need to put the following line in your application start up code (e.g. in Global.asax in Application_Start method). It tells .NET runtime to persist keys in the computer's key store instead of the user profile store.