Fora.Rti.Admin.Client
20261123.0.0
dotnet add package Fora.Rti.Admin.Client --version 20261123.0.0
NuGet\Install-Package Fora.Rti.Admin.Client -Version 20261123.0.0
<PackageReference Include="Fora.Rti.Admin.Client" Version="20261123.0.0" />
<PackageVersion Include="Fora.Rti.Admin.Client" Version="20261123.0.0" />
<PackageReference Include="Fora.Rti.Admin.Client" />
paket add Fora.Rti.Admin.Client --version 20261123.0.0
#r "nuget: Fora.Rti.Admin.Client, 20261123.0.0"
#:package Fora.Rti.Admin.Client@20261123.0.0
#addin nuget:?package=Fora.Rti.Admin.Client&version=20261123.0.0
#tool nuget:?package=Fora.Rti.Admin.Client&version=20261123.0.0
description: SDK documentation for building custom RTI management tools and dashboard integrations.
Fora.Rti.Admin.Client
SDK for building custom RTI management tools and dashboard integrations for Fora.Rti environments.
Installation
Install the NuGet package:
dotnet add package Fora.Rti.Admin.Client --version 20261123.0.0
Usage
The SDK provides an IRtiAdminClient interface to interact with a Fora RTI server via HTTP.
using Fora.Rti.Admin;
using var http = new HttpClient { BaseAddress = new Uri("http://localhost:8080") };
IRtiAdminClient client = new HttpAdminClient(http);
// List all active federations
var federations = await client.GetFederationsAsync();
foreach (var fed in federations)
{
Console.WriteLine($"Active Federation: {fed}");
}
Authenticated servers
When the RTI has an admin API key configured (ForaRtiServer:Admin:ApiKey), attach it as a Bearer token on the HttpClient:
using System.Net.Http.Headers;
using var http = new HttpClient { BaseAddress = new Uri("https://rti-host:8443") };
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", apiKey);
IRtiAdminClient client = new HttpAdminClient(http);
Prefer an https:// endpoint whenever a key is configured — the token is otherwise sent in clear text.
Error handling
The client surfaces failures rather than hiding them:
SaveSnapshotAsyncandShutdownAsyncthrow on a non-success response instead of completing silently.RestoreSnapshotAsyncreturnsfalseonly for a genuine "snapshot not found" (HTTP404); other failures throw.401/403responses surface as a clear "Admin authentication failed…" error.- A success response with an empty body is treated as a fault instead of returning fabricated or empty data.
Key Features
- Unified API: Shared
IRtiAdminClientinterface with the built-in tools (fora-admin,fora-console). - Full Control: Manage snapshots (save/restore), monitor sessions, and track real-time logs via SSE.
- Reliable Failures: Errors surface as exceptions; a missing snapshot (
404) is distinguished from real server errors. - API Key Auth: Bearer-token authentication for secured
/admin/*endpoints. - Async First: Fully asynchronous API designed for high-performance management tools.
- Headless Ready: Perfect for building web dashboards or automated monitoring services.
For a full SDK guide, see [[ProgrammersManual]] under UserManual/SDKs/Fora.Rti.Admin.Client.
Support Fora
Fora is free. If it is useful in your work, you can support its development through GitHub Sponsors.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Fora.Rti.Admin.Abstractions (>= 20261123.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 20261123.0.0 | 0 | 11/23/2026 |
| 20261004.0.0 | 129 | 10/4/2026 |
| 20260720.0.0 | 163 | 7/20/2026 |
| 20260705.0.0 | 135 | 7/4/2026 |
| 20260611.0.0 | 147 | 6/4/2026 |
| 20260603.0.0 | 148 | 6/3/2026 |
| 20260522.0.0 | 147 | 5/22/2026 |
| 20260503.0.0 | 140 | 5/3/2026 |
| 20260429.0.0 | 133 | 4/29/2026 |
| 20260426.0.0 | 155 | 4/25/2026 |
20261123.0.0 - Administration SDK for RTI readiness, session queues and replay occupancy, failure counters, and whole-RTI snapshots.