Soenneker.Utils.Runtime
4.0.1075
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.Runtime --version 4.0.1075
NuGet\Install-Package Soenneker.Utils.Runtime -Version 4.0.1075
<PackageReference Include="Soenneker.Utils.Runtime" Version="4.0.1075" />
<PackageVersion Include="Soenneker.Utils.Runtime" Version="4.0.1075" />
<PackageReference Include="Soenneker.Utils.Runtime" />
paket add Soenneker.Utils.Runtime --version 4.0.1075
#r "nuget: Soenneker.Utils.Runtime, 4.0.1075"
#:package Soenneker.Utils.Runtime@4.0.1075
#addin nuget:?package=Soenneker.Utils.Runtime&version=4.0.1075
#tool nuget:?package=Soenneker.Utils.Runtime&version=4.0.1075
Soenneker.Utils.Runtime
A collection of helpful runtime-based operations.
Installation
dotnet add package Soenneker.Utils.Runtime
Quick start
using Soenneker.Utils.Runtime;
Call the static RuntimeUtil methods directly; no dependency-injection registration is required.
Common operations
IsWindows()- Determines whether the current operating system is Windows.IsMacOs()- Returns whether the current process is running on macOS.IsLinux()- Returns whether the current process is running on Linux.IsAndroid()- Returns whether the current process is running on Android.IsBrowser()- Returns whether the current runtime is WebAssembly in a browser.IsIos()- Returns whether the current process is running on iOS.IsContainer()- Determines whether the current process is running inside a container (for example Docker or Kubernetes).
| 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
- Soenneker.Atomics.ValueNullableBools (>= 4.0.34)
- Soenneker.Extensions.String (>= 4.0.729)
- Soenneker.Utils.AsyncSingleton (>= 4.0.821)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Soenneker.Utils.Runtime:
| Package | Downloads |
|---|---|
|
Soenneker.Utils.Json
A utility library handling (de)serialization and other useful JSON functionalities |
|
|
Soenneker.Utils.HttpClientCache
Providing thread-safe singleton HttpClients |
|
|
Soenneker.Git.Util
Asynchronous Git operations, repository discovery, and bounded batch processing using bundled Git distributions. |
|
|
Soenneker.Utils.Process
A utility library implementing useful process operations |
|
|
Soenneker.Utils.LogPath
A utility library for determining the log path across all environments |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1078 | 0 | 8/30/2026 |
| 4.0.1077 | 0 | 8/30/2026 |
| 4.0.1076 | 18 | 8/30/2026 |
| 4.0.1075 | 26 | 8/30/2026 |
| 4.0.1074 | 226 | 8/30/2026 |
| 4.0.1073 | 53 | 8/30/2026 |
| 4.0.1072 | 423 | 8/29/2026 |
| 4.0.1070 | 1,926 | 8/29/2026 |
| 4.0.1068 | 1,662 | 8/29/2026 |
| 4.0.1067 | 24,416 | 8/26/2026 |
| 4.0.1066 | 5,398 | 8/26/2026 |
| 4.0.1065 | 6,287 | 8/25/2026 |
| 4.0.1064 | 23,648 | 8/21/2026 |
| 4.0.1063 | 33,149 | 8/18/2026 |
| 4.0.1062 | 11,267 | 8/18/2026 |
| 4.0.1061 | 32,756 | 8/12/2026 |
| 4.0.1060 | 38,886 | 8/8/2026 |
| 4.0.1059 | 12,348 | 8/8/2026 |
| 4.0.1058 | 7,327 | 8/8/2026 |
| 4.0.1057 | 29,980 | 8/7/2026 |
Update dependency Soenneker.Atomics.ValueNullableBools to 4.0.34 (#1500)