Activation
YouTube
Watch videos which show how to activate the WPF components. Subscribe to the Stimulsoft channel to find out about the new video lessons uploaded. Leave your questions and suggestions in the comments to the video.
After purchasing a Stimulsoft product, you need to activate the license for the components you are using. You can do this done in various ways. Below is an example of activating the WPF component.
MainWindows.xaml..cs
...
public partial class MainWindow : Window
{
public MainWindow()
{
//Activation with using license code
Stimulsoft.Base.StiLicense.Key = "Your activation code...";
//Activation with using license file
Stimulsoft.Base.StiLicense.LoadFromFile("license.key");
//Activation from byte array
Stimulsoft.Base.StiLicense.LoadFromBytes(bytes);
//Activation from stream
Stimulsoft.Base.StiLicense.LoadFromStream(stream);
//Activation from assembly
Stimulsoft.Base.StiLicense.LoadFromEntryAssembly(assembly, "stimulsoft-license.key");
InitializeComponent();
}
}
...
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.