Namespace: BitMiracle.Docotic
public static void AddLicenseData( string licenseKey, string owner )
Public Shared Sub AddLicenseData ( licenseKey As String, owner As String )
We recommend to add all license data at the start of your application. It is not recommended to call this method each time before you create a PdfDocument instance.
In classic ASP.NET apps we recommended to add license data in Global.asax.cs. In ASP.NET Core apps we recommend to use Startup.cs for the same.
You can use HasValidLicense property in any part of your app to make sure a license is applied and is valid.