+

Search Tips   |   Advanced Search

C# client

The C# client is compatible with .NET Framework version 4.0 and above.

Overview

To use our C# API to inject external data into NeoLoad, use our DLLs to create Context and Entry objects as explained in Create the C# Data Exchange API client.

First instantiate a DataExchangeAPIClient providing a URL, Context, and API key.

Then call the method addEntry() to send one Entry at a time or the method addEntries() to send more than one Entry at a time.

Configure the project

In a Visual Studio project, it is necessary to include the DLL files available either:

  1. Open the project.
  2. Open the Solution Explorer.
  3. Find the References node in the project tree.
  4. Click right and choose Manage NuGet Packages....
  5. In the Search field, type: "neotys data exchange".
  6. Select dependency name: "NeotysRestDataExchangeAPI".
  7. Click the Install button.

  1. Open the project.
  2. Open the Solution Explorer.
  3. Find the References node in the project tree.
  4. Click right and choose Add Reference.
  5. Click on Browse then Browse....
  6. Locate and choose the Neotys Data Exchange API DLL file: NeotysDataExchangeAPI.dll.

    Note: Make sure the NeotysDataExchangeAPI.xml file is in the same directory to allow method descriptions when calling API methods.

  7. Click OK.


Home