Skip to main content



Currently, the C# SDK runs on macOS, Windows, and Linux. Currently, there is no peer to peer capabilites of the C# SDK, however we are working on it. Xamarin iOS and Android Support are coming soon. Please email us at if these other platforms are essential for you.

The C# SDK is available as part of NuGet. The common ways to install the SDK is with either the NuGet Package Manager, the .NET CLI, or by adding a reference to the CSProj XML file.

For more installation options visit the NuGet Page

Now in your code you can call:

using DittoSDK;using System.Collections.Generic;
var ditto = new Ditto(identity: DittoIdentity.OnlinePlayground(appId: "live.ditto.tasks"));
ditto.SetLicenseToken("my token");ditto.TryStartSync();
var insertedId = ditto.Store.Collection("cars").Insert(new Dictionary<string, object> {    { "make", "honda" },    { "color", "red" },});