How to use your license key with full version dll?
First of all replace your trial version WebsitesScreenshot.dll with full version.
Full version requires you to pass your license key in the object initialization.
The following code sample shows how to pass your license key in the object initialization.
C# .Net Code.
WebsitesScreenshot.WebsitesScreenshot _Obj; _Obj = new WebsitesScreenshot.WebsitesScreenshot("YourLicenseKey");
VB .Net code.
Dim _Obj As WebsitesScreenshot.WebsitesScreenshot _Obj = New WebsitesScreenshot.WebsitesScreenshot("YourLicenseKey")
More examples just for your reference:
The following code sample shows how to convert webpage to jpeg image using full version.
C# .Net Code.
WebsitesScreenshot.WebsitesScreenshot _Obj; _Obj = new WebsitesScreenshot.WebsitesScreenshot("YourLicenseKey"); WebsitesScreenshot.WebsitesScreenshot.Result _Result; //Capture web page for the specified url _Result = _Obj.CaptureWebpage("http://www.WebsitesScreenshot.com"); if (_Result == WebsitesScreenshot.WebsitesScreenshot.Result.Captured) { _Obj.ImageFormat = WebsitesScreenshot. WebsitesScreenshot.ImageFormats.JPG; _Obj.SaveImage("d:\\WebsitesScreenshot.jpg"); } _Obj.Dispose();
VB .Net code.
Dim _Obj As WebsitesScreenshot.WebsitesScreenshot _Obj = New WebsitesScreenshot.WebsitesScreenshot("YourLicenseKey") Dim _Result As WebsitesScreenshot.WebsitesScreenshot.Result With _Obj 'Capture web page for the specified url _Result = .CaptureWebpage("http://www.WebsitesScreenshot.com") If _Result = WebsitesScreenshot _ .WebsitesScreenshot.Result.Captured Then .ImageFormat = WebsitesScreenshot. _ WebsitesScreenshot.ImageFormats.JPG .SaveImage("d:\WebsitesScreenshot.jpg") End If End With _Obj.Dispose()