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 StiAngularViewer component.
ViewerController.cs |
... //Activation with using license code public class ViewerController : Controller { public ViewerController() { Stimulsoft.Base.StiLicense.Key = "Your activation code..."; } }
//Activation with using license file public class ViewerController : Controller { public ViewerController(IWebHostEnvironment hostEnvironment) { var path = Path.Combine(hostEnvironment.ContentRootPath, "Content\\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.