Activation
After purchasing a Stimulsoft product, you need to activate the license for the components you are using. You can do this by specifying a license key or by downloading a file with the license key. Below is an example of activating the StiWebViewer component.
Default.aspx.cs
...
public partial class _Default : Page
{
static _Default()
{
//Activation with using license code
Stimulsoft.Base.StiLicense.Key = "Your activation code...";
//Activation with using license file
var path = HttpContext.Current.Server.MapPath("license.key");
Stimulsoft.Base.StiLicense.LoadFromFile(path);
}
}
...
You can get a license key or download a file with a license key in the user’s account. To log in to your account, please use the username and password specified when purchasing the product.