本页面尚未提供您的语言版本,显示其他语言版本。

Latoken adapter initialization

The code below demonstrates how to initialize the LatokenMessageAdapter and pass it to the Connector.

			Connector Connector = new Connector();				
			...				
			var messageAdapter = new LatokenMessageAdapter(Connector.TransactionIdGenerator)
			{
				Key = "<Your API Key>".To<SecureString>(),
				Secret = "<Your API Secret>".To<SecureString>(),
			};
			Connector.Adapter.InnerAdapters.Add(messageAdapter);
			...	
							

Connection settings window