Uniform.Turn
0.1.52
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Uniform.Turn --version 0.1.52
NuGet\Install-Package Uniform.Turn -Version 0.1.52
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="Uniform.Turn" Version="0.1.52" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Uniform.Turn" Version="0.1.52" />
<PackageReference Include="Uniform.Turn" />
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 Uniform.Turn --version 0.1.52
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Uniform.Turn, 0.1.52"
#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 Uniform.Turn@0.1.52
#: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=Uniform.Turn&version=0.1.52
#tool nuget:?package=Uniform.Turn&version=0.1.52
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Uniform.Turn
A STUN and TURN server in pure C#, following RFC 8489 and RFC 8656:
- Answers STUN Binding requests, so clients learn their public address.
- Relays UDP for clients that reach it over UDP, TCP or TLS: allocations, permissions, channels, Send and Data indications, refreshes.
- Long-term credentials with stateless nonces: time-limited credentials from shared secrets, as Matrix homeservers hand out (
SharedSecretAuthenticator), or fixed users (StaticUserAuthenticator). - Refuses to relay to private, loopback and other non-public addresses by default, limits allocations per user and in total, and ends what is not refreshed.
- Relays between two allocations of the same server directly, so clients behind the same router as the server need no NAT hairpinning.
TurnServerOptions options = new() { Realm = "example.org", ExternalAddress = IPAddress.Parse("203.0.113.5") };
await using TurnServer server = new(options, new SharedSecretAuthenticator([secret], TimeProvider.System), logger);
await server.StartAsync();
Uniform.Stun.Hosting runs it in a .NET host with settings.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Uniform.Stun.Protocol (>= 0.1.52)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Uniform.Turn:
| Package | Downloads |
|---|---|
|
Uniform.Stun.Hosting
Runs the Uniform.Turn STUN and TURN server in a .NET host: settings in section Turn, credentials from shared secrets, fixed users or the host, TLS certificates from PEM files that renew without a restart. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.58 | 58 | 11/19/2026 |
| 0.1.57 | 59 | 11/19/2026 |
| 0.1.55 | 68 | 11/18/2026 |
| 0.1.54 | 65 | 11/18/2026 |
| 0.1.53 | 63 | 11/18/2026 |
| 0.1.52 | 62 | 11/18/2026 |
| 0.1.51 | 110 | 11/15/2026 |
| 0.1.50 | 121 | 11/13/2026 |
| 0.1.49 | 108 | 11/12/2026 |
| 0.1.46 | 102 | 11/12/2026 |
| 0.1.43 | 109 | 11/11/2026 |
| 0.1.42 | 106 | 11/11/2026 |
| 0.1.39 | 108 | 11/11/2026 |
| 0.1.38 | 103 | 11/11/2026 |
| 0.1.37 | 105 | 11/11/2026 |
| 0.1.35 | 99 | 11/11/2026 |
| 0.1.33 | 100 | 11/11/2026 |
| 0.1.31 | 107 | 11/11/2026 |
| 0.1.30 | 107 | 11/11/2026 |
| 0.1.29 | 107 | 11/11/2026 |
Loading failed