Previous Topic: Initialize CA EEM C++ SDK

Next Topic: Package CA EEM Java SDK with Your Applications

Initialize CA EEM C# SDK

Configure CA EEM SDK using the SafeConfigurator class. To configure CA EEM SDK, perform the following process:

Note: Configure the eiam.config file before you configure CA EEM SDK. If you do not configure the eiam.config file, the CA EEM SDK is initialized with the following default configuration:

To initialize CA EEM SDK, perform the following process:

  1. Include the following API in your code to initialize CA EEM SDK during application startup:
    SafeConfigurator.getInstance().Init(filename);
    

    Where

    filename

    Specifies the absolute path of the eiam.config file that you have defined for your application.

    Note: If you do not mention the filename, CA EEM SDK is initialized with the default values.

  2. Include the following API in your code during shutdown of your application:
    SafeConfigurator.getInstance().term();
    

    Note: For more information about the SafeConfigurator class, see the Programming Guide.

More information:

About the eiam.config File

About the Logger Configuration Files