Adapter initialization: IIFL

The following code initializes IIFLMessageAdapter and adds it to Connector.

Connector connector = new Connector();
...
var messageAdapter = new IIFLMessageAdapter(connector.TransactionIdGenerator)
{
	Key = "<Your API key>".To<SecureString>(),
	Secret = "<Your API secret>".To<SecureString>(),
	ClientId = "<Your client identifier>",
	AuthorizationCode = "<Your authorization code>",
};
connector.Adapter.InnerAdapters.Add(messageAdapter);
...

Set the access values and any other required properties described on the Connector configuration page.

See also

Connector configuration

Connection settings window