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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Fora.Rti.Admin.Client" Version="20261123.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fora.Rti.Admin.Client" Version="20261123.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Fora.Rti.Admin.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fora.Rti.Admin.Client --version 20261123.0.0
                    
#r "nuget: Fora.Rti.Admin.Client, 20261123.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Fora.Rti.Admin.Client@20261123.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fora.Rti.Admin.Client&version=20261123.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Fora.Rti.Admin.Client&version=20261123.0.0
                    
Install as a Cake Tool

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:

  • SaveSnapshotAsync and ShutdownAsync throw on a non-success response instead of completing silently.
  • RestoreSnapshotAsync returns false only for a genuine "snapshot not found" (HTTP 404); other failures throw.
  • 401/403 responses 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 IRtiAdminClient interface 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.