.NET SDK Installation
Install the SDK
Install the SDK as a package in your .NET project:
dotnet add package newline-dotnet-sdk --source https://nuget.pkg.github.com/newline53/index.jsonUsage After Installation
After installing the package, you can initialize the SDK by providing your security credentials.
using Newline53.Sdk;
using Newline53.Sdk.Models.Components;
var sdk = new NewlineSDK(security: new Security() {
ProgramUid = "<YOUR_PROGRAM_UID_HERE>",
HmacKey = "<YOUR_HMAC_KEY_HERE>",
});
var res = await sdk.Auth.GenerateTokenAsync();
// handle responseAuthentication Configuration
The SDK supports a global security scheme using:
ProgramUidHmacKey
These values are provided when initializing the NewlineSDK client.
var sdk = new NewlineSDK(security: new Security() {
ProgramUid = "<YOUR_PROGRAM_UID_HERE>",
HmacKey = "<YOUR_HMAC_KEY_HERE>",
});Next Steps
- Make your first API call using available SDK methods (for example,
Auth.GenerateTokenAsync) - Explore available resources and operations in the SDK
- Configure server selection, error handling, or HTTP client behavior as needed

