Get Started
Install Guides
C#
you can integrate the ditto sdk into c# projects to develop for a wide range of platforms, including mobile apps for ios and android, desktop apps, linux enabled server systems, and more for a complete overview of the platforms, transports, and devices the c# sdk supports, see docid\ ygqxn2ppl g wqfuu25i8 to install the c# sdk confirm that you meet the minimum requirements ( docid\ jkjoohayi8tiz7v d9af ) prepare your environment for ditto ( docid\ jkjoohayi8tiz7v d9af ) set up your app permissions ( docid\ wopd6fcngxjdekkzdwxme ) add ditto to your app ( docid\ jkjoohayi8tiz7v d9af ) prerequisites following are the minimum requirements that must be met before attempting to install ditto https //learn microsoft com/en us/dotnet/standard/net standard?tabs=net standard 2 1#net standard versions https //dotnet microsoft com/en us/download/dotnet/3 0 https //dotnet microsoft com/en us/download/dotnet framework/net40 installing ditto using either a compatible package manager, the net cli, or by adding a reference to the package csproj xml file, install the ditto sdk by doing any of the following if using a package manager other than nuget, the official package manager for net, the command syntax to install ditto may differ from the following snippet for more information, see the official nuget documentation > https //www nuget org/packages/ditto/ package manager install package ditto version 4 3 0 net cli dotnet add package ditto version 4 3 0 package reference \<packagereference include="ditto" version="4 3 0" /> initializing ditto once you’ve installed the ditto sdk, set the debug level you want ditto to log messages for, create a new ditto identity, and set up ditto exception handling for data sync operations try { dittologger setminimumloglevel(dittologlevel debug); var ditto = new ditto(dittoidentity onlineplayground("replace me with your app id", "replace me with your playground token", true), path); ditto startsync(); } catch (dittoexception ex) { console writeline($"ditto error {ex message}"); }