Click or drag to resize

Adapter initialization TrueFX

The code below demonstrates how to initialize the TrueFXMessageAdapter and send it to Connector.

C#
...    
var messageAdapter = new TrueFXMessageAdapter(Connector.TransactionIdGenerator)
{
    Login = "<Your Login>",
    Password = "<Your Password>".To<SecureString>(),
};
...    
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also