Eyeshot 11 Documentation
General Information / Product Activation
In This Topic
    Product Activation
    In This Topic

    Eyeshot activation is a two steps process. It needs to be activated for design-time usage and unlocked for run-time usage.

     Activating Eyeshot for design-time usage
    Design-time activation can be completed either from within Visual Studio or using the Activation tool.
     Licensing Eyeshot for run-time usage

    Add the ViewportLayout.Unlock() call to the constructor of the Form using the ViewportLayout control.

    WinForms

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
    
            viewportLayout1.Unlock("US1-XXXX-XXXXX-XXXXX-XXXXX");
        }
    }
    Public Partial Class Form1
    
       Public Sub New()
    
          InitializeComponent()
    
          ViewportLayout1.Unlock("US1-XXXX-XXXXX-XXXXX-XXXXX")
    
       End Sub
    
    End Class

    WPF

    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
    
            viewportLayout1.Unlock("UF1-XXXX-XXXXX-XXXXX-XXXXX");
        }
    }
    Public Partial Class MainWindow
       Inherits Window
    
       Public Sub New()
    
          InitializeComponent()
    
          viewportLayout1.Unlock("UF1-XXXX-XXXXX-XXXXX-XXXXX")
    
       End Sub
    
    End Class

    Multiple serial numbers

    If you own more than one serial number for current Eyeshot version, you can use any of them in the ViewportLayout.Unlock() call.

    Licensing Eyeshot samples

    The Eyeshot source code samples need to be licensed for runtime usage as well. For this purpose, the Unlock Samples utility program is provided to add the proper ViewportLayout.Unlock()call in all the samples in one shot.

           
    See Also

    Licensing and Distribution

    Tools