Adapter initialization: Open DART
The following code initializes OpenDartMessageAdapter and adds it to Connector.
var messageAdapter = new OpenDartMessageAdapter(Connector.TransactionIdGenerator)
{
Token = "<token>".ToSecureString(),
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
Set the credentials and any other required properties described on the Connector configuration page.