Click or drag to resize

Adapter initialization IEX

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

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new IEXMessageAdapter(Connector.TransactionIdGenerator)
{
    Token  = "<Your Token>".To<SecureString>(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also