Click or drag to resize

Adapter initialization Liqui

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

C#
Connector Connector = new Connector();                
...                
var messageAdapter = new LiquiMessageAdapter(Connector.TransactionIdGenerator)
{
    Key = "<Your API Key>".To<SecureString>(),
    Secret = "<Your API Secret>".To<SecureString>(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
...
See Also