DotNet-ArpHardwareType 0.0.2
TODO: Description here :)
Loading...
Searching...
No Matches
.NET - ARP Hardware Type Data

Nuget.org latest version Nuget.org downloads count Repository's License

A small package containing all the ARP Hardware Types as defined by de IANA, RFC 1700 and Linux in distinct and convenient enums.

Features

  • Distinct sets:
    • IANA - Current IANA standard
    • RFC 1700 - Before RFC 3232 On-line Database
    • Linux - Parts of RFC 1700, conflicts with IANA, used by WireShark
  • Provides friendly names for UI usage

Requirements

  • .NET Framework 4.0 or newer
  • .NET v6.0 or newer

Documentation

Go to aziascreations.github.io/DotNet-ArpHardwareType/ for the HTML documentation.

Example

using System;
static class Program {
private static void Main(string[] args) {
Console.WriteLine("IANA ARP Hardware Types:");
foreach(EIanaArpHardwareTypes hardwareType in Enum.GetValues(typeof(EIanaArpHardwareTypes))) {
Console.WriteLine("* " + (ulong) hardwareType + " - " + ArpHardwareTypeName.GetFrom(hardwareType));
}
}
}
Attribute used to give a friendly name to entries in the ARP Hardware Types enumerations.
Definition: ArpHardwareTypeName.cs:10
static string GetFrom(Enum enumObj)
Retrieves the friendly name from a given ARP Hardware Types.
Definition: ArpHardwareTypeName.cs:27
Definition: ArpHardwareTypeName.cs:4
EIanaArpHardwareTypes
Contains all "Hardware Types" from the "Address Resolution Protocol (ARP) Parameters" database mainta...
Definition: EIanaArpHardwareTypes.cs:14

Licenses

The code in this repository is licensed under CC0 1.0 Universal (CC0 1.0) (Public Domain).

The doxygen-awesome-css repository is used as a submodule for Doxygen and is licensed under the MIT license.