Reading the WebDAV Server License

By default, IT Hit WebDAV engine searches for License.lic file in the executing and calling assembly directories (in the folder where your .dll or .exe file resides). To store your license in a different place (registry, database, etc) you should override Engine.License property and return the license string from this property. You can also hardcode the license text in your server implementation. In this case, you do not need any additional files when redistributing your application. Please note that to redistribute ITHit.WebDAV.Server.dll with your application you need to purchase the IT Hit WebDAV Server Redistribution License.

Make sure you do not make any changes in Data and Signature tags of license string as license validation will fail, in this case.

public class MyEngine : Engine
{
       public override string License
       {
             get
             {
                    return "<?xml version='1.0' encoding='utf-8'?><License><Da ...
             }
       }
}