Adapter initialization: HDFC Securities

The following code initializes HdfcMessageAdapter and adds it to Connector.

var messageAdapter = new HdfcMessageAdapter(Connector.TransactionIdGenerator)
{
	Key = "<key>".ToSecureString(),
	Secret = "<secret>".ToSecureString(),
	RequestToken = "<token>".ToSecureString(),
};

Connector.Adapter.InnerAdapters.Add(messageAdapter);

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

See also

Connector configuration

Connection settings window