dotConnect for SQLite Documentation
In This Topic
    Activation
    In This Topic

    Before using dotConnect for SQLite, you need to activate the product—whether it's a purchased or trial version—using one of the following methods:

    TipTip:
    You can find the activation key in the email from Devart (for a purchased license) or on the Customer Portal.

    Activate using NuGet packages

    After installing the product via NuGet packages, you can activate dotConnect for SQLite directly in Visual Studio or from the command line.

    Activate in Visual Studio

    1. In the activation dialog, choose one of the activation methods:

    TipTip:
    You can find the activation key in the email from Devart (for a purchased license) or on the Customer Portal. To access the portal, click Get Key from Customer Portal.
    NuGet activation

    2. Click OK.

    Activate via the command line

    1. Open Command Prompt as an Administrator.

    2. Navigate to the folder containing dcSQLiteActivator.dll. The default path is:

    %USERPROFILE%\.nuget\packages\devart.data.sq\version_number\tools

    where:

    3. Run the following command to get the license key:

    dotnet dcSQLiteActivator.dll -get-license

    This redirects you to the Devart website, where you can sign in to copy your license key.

    4. Enter the following command, replacing your_key with your own value.

    dotnet dcSQLiteActivator.dll -a your_key

    dotConnect for SQLite supports license activation on all operating systems, including macOS, Linux, and Windows.

    NuGet activationfrom the command line

    Activate at runtime

    1. Sign in to the Customer Portal.

    2. Copy the activation key available in your Customer Portal account.

    3. Paste it into your connection string while setting up a connection with a database.

    using Devart.Data.SQLite;
    
    string connectionString = "" +
    
      "Host=127.0.0.1;" +
    
      "UserID=TestUser;" +
    
      "Password=TestPassword;" +
    
      "LicenseKey=**********;";

    This method is not recommended for activating a trial version, as it may affect performance.

    Activate via the setup wizard

    1. Run the installation wizard and follow the on-screen instructions.

    2. In the License Information dialog, activate the product using one of the methods:

    Activate via setup

    3. Click Next.

    Activate in Visual Studio on Windows

    1. Open Visual Studio.

    2. On the menu bar, select Tools > SQLite > Activate or Get License Information.

    3. In the License Information dialog, click Input License Key.

    4. In the product activation dialog, choose one of the activation methods:

    TipTip:
    You can find the activation key in the email from Devart (for a purchased license) or on the Customer Portal. To access the portal, click Get Key from Customer Portal.
    Activate via VS

    5. Click OK.

    Activate the product via the command line

    1. Open Command Prompt.

    2. Navigate to the folder where the product executable file is located. The default path is:

    C:\Program Files (x86)\Devart\dotConnect\SQLite\Tools

    3. Run the following command, replacing activation_key with your actual key:

    dcSQLiteActivator.exe -a activation_key

    Activate via the command line