dotConnect for Snowflake Documentation
On this page
    Activation
    On this page

    To use dotConnect for Snowflake, you must activate your license for either the purchased or trial version using one of the following methods:

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

    Activate via NuGet packages

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

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

    Activate in Visual Studio

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

    Tip 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 dcSnowflakeActivator.dll. The default path is:

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

    where:

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

    dotnet dcSnowflakeActivator.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 dcSnowflakeActivator.dll -a your_key

    NuGet activation from the command line

    Activate at runtime

    Runtime activation supports two methods: directly in the connection string or via a static method.

    1. Sign in to the Customer Portal.

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

    3. Apply it using one of the following methods:

    Note This method is not recommended for activating a trial version, as it may affect performance.
    Warning On a computer where dotConnect for Snowflake is activated, don't specify License Key in the connection string and don't call LoadLicenseKey. The key applies to the whole process: an invalid key breaks the license for all connections of the process, including the connections whose strings don't contain License Key.

    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 following methods:

    Activate via setup

    3. Click Next.

    Activate in Visual Studio on Windows

    1. Open Visual Studio.

    2. On the menu bar, select Tools > Snowflake > 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:

    Tip 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\Snowflake\Tools

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

    dcSnowflakeActivator.exe -a activation_key

    Activate via the command line

    Check and Deactivate the License

    You can view information about the current license and deactivate the product on this computer, for example, before moving the license to another computer. After deactivation, you can't use the product on this computer until you activate it again using any of the methods described in this topic.

    Check and deactivate the license in Visual Studio

    1. Open Visual Studio.

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

    3. In the License Information dialog, view the licensed product, the user name, the license number, the edition, and the subscription expiration date.

    4. To deactivate the product, click Deactivate.

    Deactivate in Visual Studio

    Check and deactivate the license via the command line

    Run the dcSnowflakeActivator utility from the folder that contains it: C:\Program Files (x86)\Devart\dotConnect\Snowflake\Tools for the installed product, or the tools folder of the NuGet package (see Activate via NuGet packages). For the NuGet package, run dotnet dcSnowflakeActivator.dll instead of dcSnowflakeActivator.exe.

    To view the licensed product, the user name, the license number, the edition, and the subscription expiration date, run the following command:

    dcSnowflakeActivator.exe -s

    Check the license via the command line

    To deactivate the product, run the following command:

    dcSnowflakeActivator.exe -d

    Deactivate via the command line

    To reactivate the product, run dcSnowflakeActivator.exe -a with your activation key. The -a command accepts either the activation key or the path to a file that contains the key. To list all commands of the utility, run dcSnowflakeActivator.exe --help.