Developing Apama Applications > Developing Clients > The .NET Engine Client Library > Using the .NET client library
Using the .NET client library
To make use of the .NET wrapper, add the engine_client_dotnet5.1.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:
*engine_client5.1.dll
*engine_client_dotnet5.1.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\DotNetSamples directory. This directory includes several samples, all based on the Java API samples.
Both the 32-bit and 64-bit versions of the engine_client_dotnet5.1.dll library are created by using Microsoft Visual Studio 2008 SP1 and use .NET 2.0.
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 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.