Oakrey.Network.Abstractions 1.0.0

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

Oakrey.Network.Abstractions

Overview

The "Abstraction" project is a .NET 8 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.

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.

Installation

You can install the package via NuGet Package Manager, Package Manager Console or the .NET CLI.

NuGet Package Manager

  1. Open your project in Visual Studio.
  2. Navigate to Tools > NuGet Package Manager > Manage NuGet Packages for Solution....
  3. Search for Oakrey.Network.Abstractions and 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

Requirements

  • .NET 8 or higher

Project Information

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the package.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Oakrey.Network.Abstractions:

Package Downloads
Oakrey.Network.IpScanner

The "IpScanner" project provides a robust library for scanning IP address ranges to discover active network devices. It features reactive programming for real-time updates, asynchronous operations for efficient scanning, and integration with network abstractions and tools.

Oakrey.Network.PacketCapture.Wrapper

The "WindowsCaptureWrapper" project provides a comprehensive .NET wrapper for native packet capture and transmission functionalities on Windows. It simplifies low-level network operations by offering managed APIs for packet filtering, device configuration, and statistics retrieval.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 217 4/17/2025