Soenneker.Utils.Network 4.0.1219

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.Network --version 4.0.1219
                    
NuGet\Install-Package Soenneker.Utils.Network -Version 4.0.1219
                    
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="Soenneker.Utils.Network" Version="4.0.1219" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.Network" Version="4.0.1219" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.Network" />
                    
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 Soenneker.Utils.Network --version 4.0.1219
                    
#r "nuget: Soenneker.Utils.Network, 4.0.1219"
                    
#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 Soenneker.Utils.Network@4.0.1219
                    
#: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=Soenneker.Utils.Network&version=4.0.1219
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.Network&version=4.0.1219
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.Network

A utility library of helpful network related operations.

Installation

dotnet add package Soenneker.Utils.Network

Quick start

using Soenneker.Utils.Network.Registrars;

services.AddNetworkUtilAsSingleton();

Then inject INetworkUtil wherever you need it.

Common operations

  • IsPortBusy() - Returns true when the port appears among the machine's active TCP listeners.
  • GetFreePort() - Temporarily binds loopback port zero and returns the OS-assigned available port.
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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Utils.Network:

Package Downloads
Soenneker.Playwrights.TestEnvironment

A test environment for testing with Playwright

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1236 250 9/24/2026
4.0.1235 113 9/24/2026
4.0.1234 427 9/15/2026
4.0.1233 357 9/14/2026
4.0.1232 794 9/8/2026
4.0.1231 599 9/6/2026
4.0.1229 795 9/4/2026
4.0.1228 1,027 8/31/2026
4.0.1227 120 8/31/2026
4.0.1226 107 8/30/2026
4.0.1225 106 8/30/2026
4.0.1224 105 8/30/2026
4.0.1223 108 8/30/2026
4.0.1222 100 8/30/2026
4.0.1221 102 8/29/2026
4.0.1220 113 8/29/2026
4.0.1219 113 8/29/2026
4.0.1218 103 8/29/2026
4.0.1217 709 8/26/2026
4.0.1216 150 8/25/2026
Loading failed

Update dependency Soenneker.Extensions.Enumerable to 4.0.650 (#1856)