WPF SDK
.NET WPF desktop · LibreAuth native client · Protocol v2 available (Enterprise)
WPF
.NET WPF desktop
Setup Guide
LibreAuthV2 + Authority + SessionGate + Ops* + Hardening · AssertLicensed before MainWindow · HeartbeatOrDie · NuGet NSec + BouncyCastle · /api/v2/
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
csharp/LibreAuthV2.cs - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
// Add LibreAuthV2.cs + OpsEnvelope.cs for Enterprise v2
// Or LibreAuth.cs for API 1.3
Code Example
WPF
SessionGate.Boot(19079);
var init = await app.InitAsync();
SessionGate.OnInit(init);
// after license only:
SessionGate.MarkLicensed();
SessionGate.AssertLicensed();
new MainWindow().Show();
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: csharp/LibreAuthV2.cs
WPF · v2
SessionGate.Boot(19079);
var init = await app.InitAsync();
SessionGate.OnInit(init);
// after license only:
SessionGate.MarkLicensed();
SessionGate.AssertLicensed();
new MainWindow().Show();
More Links
- ← All Client SDKs
- 1.x source: View LibreAuthV2.cs
- Protocol v2: View LibreAuthV2.cs · docs
- Interactive API docs
- Response Signing