Connecting Apama Applications to External Components > Developing Custom Clients > The EngineClient API > The .NET Engine Client library > Using the .NET client library
Using the .NET client library
To make use of the .NET wrapper, add the apclientdotnet.dll library as a reference of your assembly.
To run an application using the wrapper:
1. Copy the following libraries in the directory that contains the compiled .NET assembly that uses them:
*apclient.dll
*apclientdotnet.dll
2. Ensure that the Apama installation’s bin directory is in the PATH environment variable.
To use the log4net implementation of the logging interface, copy log4net.dll as well.
For examples of using the various supported APIs, see the samples\engine_client\dotnet directory. This directory includes several samples, all based on the Java API samples.
The 64-bit version of the apclientdotnet.dll library is built to run on the .NET 4 runtime and is tested against the 4.5.1 libraries.
The following .NET API layers use the AppDomain.ProcessExit event handler to run cleanup operations upon exiting the application:
*EngineClient
*EventService
*ScenarioService
As described in http://msdn.microsoft.com/en-us/library/system.appdomain.processexit.aspx, the total execution time of all ProcessExit event handlers is limited, just as the total execution time of all finalizers is limited at process shutdown. The default is three seconds.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.