Hi!
I’m using Windows 10, i just installed Aspose.Slides for Net by NuGet on Visual Studio 2015. I want to know how to activate the license and use the package in my project. I have the “Aspose.Slides.lic” file but i don´t know what to do with that.
I use the next code in a Module in my project to verify if the license is activated, but give an error on compilation:
<pre class=“code-java” style=“padding: 0px; margin-top: 0px; margin-bottom: 0px; overflow: auto; font-family: “Courier New”, Courier, monospace; line-height: 1.3; color: rgb(51, 51, 51); font-size: 12.0333px; background-color: rgb(255, 255, 255);”>'Instantiate an instance of license and set the license through a stream
Dim license As Aspose.Slides.License = New Aspose.Slides.License()
'Setting License
license.SetLicense(“Aspose.Slides.lic”)
'Reset the applied license
license.ResetLicense()
'Get status if license is applied or not
Dim isLicensed As Boolean = license.IsLicensed()
If not isLicensed Then
license.SetLicense(<span class="code-quote" style="color: rgb(0, 145, 0); background-color: inherit;">"Aspose.Slides.lic"</span>)
Debug.Assert(!license.IsLicensed())
End If