Change Engine Settings Programmatically : OnixS .NET FIX Engine
forwardConfiguring the Engine   Table of ContentConfiguration Fileforward
Change Engine Settings Programmatically

EngineSettings class provides a way to change settings of the Engine programmatically.

Example

The sample below demonstrates the common approach customizing the Engine behavior by updating the field values of the EngineSettings class.

C#
EngineSettings settings = new EngineSettings();

settings.LogDirectory = "C:\\Users\\FixEngine\\Logs";

Engine.Init(settings);
VB
Dim settings As EngineSettings = New EngineSettings()

settings.LogDirectory = "C:/Users/FixEngine/Logs"

Engine.Init(settings)