Oakrey.Network.Abstractions
2.0.2
See the version list below for details.
dotnet add package Oakrey.Network.Abstractions --version 2.0.2
NuGet\Install-Package Oakrey.Network.Abstractions -Version 2.0.2
<PackageReference Include="Oakrey.Network.Abstractions" Version="2.0.2" />
<PackageVersion Include="Oakrey.Network.Abstractions" Version="2.0.2" />
<PackageReference Include="Oakrey.Network.Abstractions" />
paket add Oakrey.Network.Abstractions --version 2.0.2
#r "nuget: Oakrey.Network.Abstractions, 2.0.2"
#:package Oakrey.Network.Abstractions@2.0.2
#addin nuget:?package=Oakrey.Network.Abstractions&version=2.0.2
#tool nuget:?package=Oakrey.Network.Abstractions&version=2.0.2
Oakrey.Network.Abstractions
1. Overview
The "Abstraction" project is a .NET library that provides foundational abstractions for network-related operations. It includes interfaces, enums, and base classes for handling network packets, protocols, and addresses. The project is designed to facilitate the development of network tools and applications by abstracting low-level details.
2. Features
Packet Handling:
Classes like MacPacketHead, IPv4PacketHead, and IPv6PacketHead provide abstractions for parsing and handling network packets. PacketDescriptionBase serves as a base class for describing packets.
Protocol Support:
Enums like EtherType and IpProtocol define supported protocols (e.g., IPv4, IPv6, TCP, UDP).
Address Management:
Interfaces like IAddress and classes like IpAddressRange and IpAddressRangeViewModel handle IP address ranges and address-related operations.
Transport and Network Layers:
Classes like TransportLayerBase and NetworkLayerBase abstract transport and network layer functionalities.
Utility and Formatting:
Formatter provides utilities for formatting data. FlagsEnum and TimeValue offer additional support for flag-based enums and time-related operations.
Integration:
The project integrates with external libraries like PacketDotNet for packet manipulation.
3. Installation
You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.
NuGet Package Manager
- Open your project in Visual Studio.
- Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
- Search for
Oakrey.Network.Abstractionsand click Install.
.NET CLI
Run the following command in your terminal:
dotnet add package Oakrey.Network.Abstractions
Package Manager Console
Run the following command in your Package Manager Console:
Install-Package Oakrey.Network.Abstractions
4. Requirements
- .NET 8 or higher
5. Project Information
- Author: Oakrey
- Company: Oakrey (Website Link)
- License: MIT
- Repository: Git Repository
- Project URL: Project Website
6. Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.
7. License
This project is licensed under the MIT License. See the LICENSE file for details.
| 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
- Oakrey.BitArray (>= 2.0.0)
- PacketDotNet (>= 1.4.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Oakrey.Network.Abstractions:
| Package | Downloads |
|---|---|
|
Oakrey.Network.IpScanner
Asynchronous IPv4 network scanner that pings an IpAddressRange and exposes discovered devices as IObservable<NetworkDeviceInfo>. Uses ICMP (System.Net.NetworkInformation.Ping) with configurable timeout, reports scan progress via IObservable<int> (remaining pings), and resolves each live host to its IP address, MAC address, hostname, and device type. Depends on Oakrey.Network.Abstractions and Oakrey.Network.Tools. |
|
|
Oakrey.Network.PacketCapture.Wrapper
A managed .NET wrapper for WinPcap/Npcap on Windows. Exposes packet capture, Berkeley Packet Filter (BPF) compilation, queue-based transmission, device configuration, and capture statistics via P/Invoke. |
GitHub repositories
This package is not used by any popular GitHub repositories.