About GeoBase licensing

Licenses

GeoBase searches for a valid license file at runtime. If no license is found, a Trial license will be downloaded.

License files can have any name but have a .lic extension. They may be used in the following ways:

  • Loose - If the license file is located in the same folder as geobase.net.dll it will be located and used automatically.
  • Embedded - The license file is embedded into your application.

Embedding a License

To embed a licence in your application, follow the steps below.
  1. Add the licence file to your project in Visual Studio.
  2. Rename the licence file to runtime.lic
  3. Open the properties window for the licence and set Build Action to Embedded Resource
  4. Now when you build your application the licence will be embedded in the executable. This will be found by GeoBase at runtime.

Example

Imagine an ASP.Net application with both client and server executables.

  • On the server side it is simple to leave the license file in the bin directory of your ASP.Net application.
  • On the client side (which is going to be distributed) you must embed the license file in the application executable.
Packaging GeoBase with a client application