Skip to content

.NET SDK

The .NET SDK supports ASP.NET and worker services.

csharp
var client = new PlatformClient(new PlatformOptions
{
    ApiKey = Environment.GetEnvironmentVariable("PLATFORM_API_KEY"),
    Environment = "production"
});

var timeout = await client.ConfigAsync<int>("checkout.timeout");