Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Represents the executing GlobalCapture engine, containing methods and properties pertaining to engine information.

public class CaptureEngine : Engine

Example

The following example demonstrates retrieving a few config values and a CaptureApi client from the engine helper class.

public class Example : CaptureNode
{
    var mongoConnection = Engine.GetEngineConfigSetting("Mongo");
    var captureApi = Engine.GetCaptureApiClient();
}

Properties

stringĀ ServiceName

The service name of the executing engine.

Methods

Gets a value from the engine app.config file by key name.

Gets an HttpClient object configured to make calls to the CaptureApi associated with the executing engine.

Gets an HttpClient object configured to make calls to a Square9Api.

  • No labels