Skip to content

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

License

Notifications You must be signed in to change notification settings

aziascreations/DotNet-ArpHardwareType

Repository files navigation

.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;
using NibblePoker.Data.ArpHardwareType;

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));
        }
    }
}

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks