Skip to content

The Trinsic C# / .NET SDK

The Trinsic C# / .NET SDK makes it easy to interact with the Trinsic API from your .NET application. The most recent version of the library can be found on NuGet. The Trinsic SDK supports .NET applications written in C#, VB.NET, and F# that utilize any supported version of .NET Core. You can also find the SDKs source on Github.

Supported runtimes

.NET targets for iOS, Android, and Blazor are fully supported using the same package dependencies via .NET 6.

Installation in a new project

Add the required dependencies from Nuget.org

PM> Install-Package Trinsic
dotnet add package Trinsic
<PackageReference Include="Trinsic" />

Configuration

// trinsicServiceConstructor() {
var trinsic = new TrinsicService(_options);
// }
// accountServiceSignIn() {
var myProfile = await trinsic.Account.SignInAsync(new());
// }
trinsic.SetAuthToken(myProfile);
// accountServiceGetInfo() {
var info = await trinsic.Account.GetInfoAsync();
// }

Next Steps

Once the .NET SDK package is installed and configured, you're ready to start building! We recommend going through the walkthrough next. If you're ready to dive into building your ecosystem, check out our API Reference

Start Walkthrough Explore API C# API Reference