Adapter initialization: Nubra

The following code initializes NubraMessageAdapter and adds it to Connector.

var messageAdapter = new NubraMessageAdapter(Connector.TransactionIdGenerator)
{
	Token = "<token>".ToSecureString(),
	DeviceId = "<id>",
	IsDemo = true,
};

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