Click or drag to resize

Adapter initialization MB Trading

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

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