ZeroNetwork.Core 2.2.0

dotnet add package ZeroNetwork.Core --version 2.2.0
                    
NuGet\Install-Package ZeroNetwork.Core -Version 2.2.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="ZeroNetwork.Core" Version="2.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZeroNetwork.Core" Version="2.2.0" />
                    
Directory.Packages.props
<PackageReference Include="ZeroNetwork.Core" />
                    
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 ZeroNetwork.Core --version 2.2.0
                    
#r "nuget: ZeroNetwork.Core, 2.2.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 ZeroNetwork.Core@2.2.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=ZeroNetwork.Core&version=2.2.0
                    
Install as a Cake Addin
#tool nuget:?package=ZeroNetwork.Core&version=2.2.0
                    
Install as a Cake Tool

ZeroNetwork

High-performance, zero-dependency cross-platform network infrastructure, topology discovery, diagnostics, and embedded micro-services library for the ZeroPlatform ecosystem.

License: MIT .NET Multi-Targeting Dependencies: 0


๐ŸŒŸ Key Capabilities

1. Topology & Hardware Discovery

  • IPNetwork: High-performance, allocation-free IPv4/IPv6 CIDR arithmetic (Parse, Contains, EnumerateUsableHosts, BroadcastAddress, Netmask).
  • MacAddress: Blittable 6-byte struct with IEEE 24-bit OUI vendor identification (VMware, Hyper-V, VirtualBox, Docker, QEMU/KVM, Xen) and zero-allocation span formatting.
  • VirtualAdapterFilter: Hybrid keyword heuristics and hardware OUI vendor filtering with extensible user whitelist rules.
  • NetworkInfo: Deterministic physical NIC selection, multi-homed adapter enumeration, primary subnet calculation, and Default Gateway extraction.

2. Layer 2 & Industrial Device Discovery

  • ArpTable: Fast IP $\leftrightarrow$ MAC address resolution via IpHlpApi.dll (SendARP / GetIpNetTable) on Windows and /proc/net/arp on Linux.
  • WakeOnLan: Standard 102-byte Magic Packet generation and subnet-directed UDP broadcasting for remote IPC/node power-on.
  • SsdpDiscovery: Simple Service Discovery Protocol (UPnP) client for zero-configuration camera, printer, and smart device discovery.

3. High-Throughput Network Diagnostics

  • NetworkProbe: Hardened non-blocking TCP port probing (IsPortOpenAsync) with immediate cancellation/timeout socket abort (zero socket leaks).
  • PortScanner: Parallel bounded-concurrency TCP port and subnet scanner (ScanPortRangeAsync, ScanSubnetAsync).
  • Traceroute: Hop-by-hop ICMP route tracer with per-hop roundtrip latency measurement.
  • PathMtuDiscovery: Binary search PMTU discovery with Don't Fragment (DF) ICMP packets (validating Jumbo Frames MTU 9000 for GigE Vision cameras).
  • ConnectivityHeartbeat: Active multi-target WAN/LAN reachability monitor.

4. Sockets, Micro-Services & High-Performance HTTP Client

  • ZeroApiClient: Ultra-high-throughput stream-based HTTP API Client. Eliminates LOH fragmentation via direct stream serialization/deserialization, automatic GZip/Brotli socket decompression, pooled connection lifetime management, and exponential backoff retry.
  • ZeroHttpExtensions: Fluent string extensions (url.GetJsonAsync<T>(), url.PostJsonAsync<T>()) providing zero-allocation drop-in replacements for legacy HTTP extensions.
  • UdpMulticastClient: IGMPv2/v3 multicast group publisher/subscriber with physical interface binding.
  • ZeroHttpServer: Sovereign, non-admin pure C# micro HTTP/1.1 server for Edge REST APIs and built-in Prometheus /metrics telemetry.

5. Real-Time Full-Duplex Protocols (Zero Dependency)

  • ZeroWebSocketClient: Resilient RFC 6455 WebSocket client built on BCL ClientWebSocket with thread-safe sending (SemaphoreSlim), automatic frame reassembly for large payloads, configurable keep-alive heartbeat, and auto-reconnect with exponential backoff and random jitter.
  • ZeroSignalRClient: Pure C# ASP.NET Core SignalR JSON Hub Client (Protocol v1) with 0 external dependencies, eliminating assembly redirect issues and DLL hell on .NET Framework 4.6.2. Supports automatic handshake, server-to-client callbacks (hub.On<T>), and request-response invocations (hub.InvokeAsync<T>).

๐Ÿ’ป Supported Platforms

  • .NET 8.0+
  • .NET Framework 4.6.2+
  • .NET Standard 2.0

๐Ÿ“„ License

MIT License ยฉ 2026 Phong Vรต (kzxl). Part of the ZeroPlatform sovereign ecosystem.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
2.2.0 64 9/17/2026