ICICI Direct Breeze adapter initialization

The following code demonstrates how to initialize BreezeMessageAdapter and pass it to Connector.

var messageAdapter = new BreezeMessageAdapter(Connector.TransactionIdGenerator)
{
	ApiKey = "<API key>",
	SecretKey = "<Secret key>".ToSecureString(),
	ApiSession = "<API session>".ToSecureString(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

Replace the example values with credentials and endpoints issued for your account.

Connection settings window