Property to activate your copy of the component

Namespace:  SautinSoft
Assembly:  SautinSoft.JBIG2 (in SautinSoft.JBIG2.dll) Version: 1.0.6.25 (1.0.6.25)

Syntax

      
 C#  Visual Basic 
public string Serial { get; set; }
Public Property Serial As String

Remarks

The property doesn't work in the trial version, the same as the method Use this property only in the full version after purchasing.

Examples

CopyHow to activate the product using C#
using System;
using System.IO;
using System.Collections.Generic;
using SautinSoft;

namespace Sample
{
    class Program
    {
        static void Main(string[] args)
        {
            // To activate the product:
            // 1. Purchase the product at our online stores: http://www.sautin.com or http://www.sautinsoft.com.
            // 2. You will get the package "jbig2net_full.zip" and own activation key.
            // 3. Remove the reference from your project to the trial "SautinSoft.JBIG2.dll".
            // 4. Copy the file SautinSoft.JBIG2.dll from the package "jbig2net_full.zip"
            // to your project directory.
            // 5. Add the reference to the full "SautinSoft.JBIG2.dll" and set your activation key:
            SautinSoft.JBIG2 jbig2Dec = new JBIG2();
            jbig2Dec.Serial = "1234567890";            
        }
    }
}
CopyHow to activate the product using VB.Net
Imports System.IO
Imports System.Text
Imports System.Collections.Generic
Imports SautinSoft


Namespace SampleConvert
    Friend Class sample
        Shared Sub Main(ByVal args() As String)
            ' To activate the product:
            ' 1. Purchase the product at our online stores: http://www.sautin.com or http://www.sautinsoft.com.
            ' 2. You will get the package "jbig2net_full.zip" and own activation key.
            ' 3. Remove the reference from your project to the trial "SautinSoft.JBIG2.dll".
            ' 4. Copy the file SautinSoft.JBIG2.dll from the package "jbig2net_full.zip"
            ' to your project directory.
            ' 5. Add the reference to the full "SautinSoft.JBIG2.dll" and set your activation key:
            Dim jbig2Dec As SautinSoft.JBIG2 = New JBIG2()
            jbig2Dec.Serial = "1234567890"
        End Sub
    End Class
End Namespace

See Also