Add the .Net Class Interface

About this task

To use the Connect:Direct® .Net SDK, add the ConnectDirectSdk.dll as a reference in your Visual Studio project.

To add the dll:

Procedure

  1. Select Project >Add Reference from the menu.
  2. Select Browse and search for the ConnectDirectSdk.dll file.
    Browse to the C:\Program Files\IBM\Connect Direct v6.4.0\SDK.Net\Sdk_Files\Release location.
  3. Highlight ConnectDirectSdk.dll and click OK.
  4. Do one of the following to import the ConnectDirectSdk namespace:
    • In Vb.Net, add the following command to your source modules:
    Imports ConnectDirectSdk
    • In C#.Net, add the following to your source modules:
    Using ConnectDirectSdk