Click or drag to resize

Adapter initialization Latoken

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

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