Adapter initialization: Deriv
The following code initializes DerivMessageAdapter and adds it to Connector.
var messageAdapter = new DerivMessageAdapter(Connector.TransactionIdGenerator)
{
Token = "<token>".ToSecureString(),
AppId = "<app-id>",
IsDemo = true,
};
Connector.Adapter.InnerAdapters.Add(messageAdapter);
Replace the sample values with the token and application identifier issued for the selected demo or real account.