Product Activation

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 Model.Unlock() call to the constructor of the Form using the Model control.

Example
 

WinForms runtime activation.

public partial class Form1 : Form
 {
     public Form1()
     {
         InitializeComponent();
         viewportLayout1.Unlock("US21-XXXX-XXXXX-XXXXX-XXXXX");
     }
 }					
This language is not supported or no code example is available.
Public Partial Class Form1
    Public Sub New()
       InitializeComponent()
       ViewportLayout1.Unlock("US21-XXXX-XXXXX-XXXXX-XXXXX")
    End Sub
 End Class					
This language is not supported or no code example is available.

WPF runtime activation.

public partial class MainWindow : Window
 {
     public MainWindow()
     {
         InitializeComponent();
         viewportLayout1.Unlock("UF21-XXXX-XXXXX-XXXXX-XXXXX");
     }
 }					
This language is not supported or no code example is available.
Public Partial Class MainWindow
    Inherits Window
    Public Sub New()
       InitializeComponent()
       viewportLayout1.Unlock("UF21-XXXX-XXXXX-XXXXX-XXXXX")
    End Sub
 End Class					
This language is not supported or no code example is available.

Multiple serial numbers 
If you own more than one serial number for current Eyeshot version, you can use any of them in the Model.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 Model.Unlock() call in all the samples in one shot.

In this article

Definition