Soenneker.Utils.Runtime
4.0.1072
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.Runtime --version 4.0.1072
NuGet\Install-Package Soenneker.Utils.Runtime -Version 4.0.1072
<PackageReference Include="Soenneker.Utils.Runtime" Version="4.0.1072" />
<PackageVersion Include="Soenneker.Utils.Runtime" Version="4.0.1072" />
<PackageReference Include="Soenneker.Utils.Runtime" />
paket add Soenneker.Utils.Runtime --version 4.0.1072
#r "nuget: Soenneker.Utils.Runtime, 4.0.1072"
#:package Soenneker.Utils.Runtime@4.0.1072
#addin nuget:?package=Soenneker.Utils.Runtime&version=4.0.1072
#tool nuget:?package=Soenneker.Utils.Runtime&version=4.0.1072
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.33)
- Soenneker.Extensions.String (>= 4.0.726)
- 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
Serializes, deserializes, validates, formats, and writes JSON with System.Text.Json or Newtonsoft.Json. |
|
|
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
Chooses a writable log-file path across cloud, container, CI, and local environments. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1086 | 7,443 | 8/31/2026 |
| 4.0.1085 | 7,919 | 8/31/2026 |
| 4.0.1084 | 6,424 | 8/31/2026 |
| 4.0.1083 | 46 | 8/31/2026 |
| 4.0.1082 | 4,261 | 8/31/2026 |
| 4.0.1081 | 1,932 | 8/30/2026 |
| 4.0.1080 | 47 | 8/30/2026 |
| 4.0.1079 | 5,796 | 8/30/2026 |
| 4.0.1078 | 59 | 8/30/2026 |
| 4.0.1077 | 4,743 | 8/30/2026 |
| 4.0.1076 | 2,289 | 8/30/2026 |
| 4.0.1075 | 64 | 8/30/2026 |
| 4.0.1074 | 5,358 | 8/30/2026 |
| 4.0.1073 | 71 | 8/30/2026 |
| 4.0.1072 | 2,401 | 8/29/2026 |
| 4.0.1070 | 12,842 | 8/29/2026 |
| 4.0.1068 | 5,256 | 8/29/2026 |
| 4.0.1067 | 47,959 | 8/26/2026 |
| 4.0.1066 | 5,985 | 8/26/2026 |
| 4.0.1065 | 6,882 | 8/25/2026 |
Update dependency Soenneker.Utils.AsyncSingleton to 4.0.821 (#1494)