PenOid 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package PenOid --version 1.0.3                
NuGet\Install-Package PenOid -Version 1.0.3                
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="PenOid" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PenOid --version 1.0.3                
#r "nuget: PenOid, 1.0.3"                
#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.
// Install PenOid as a Cake Addin
#addin nuget:?package=PenOid&version=1.0.3

// Install PenOid as a Cake Tool
#tool nuget:?package=PenOid&version=1.0.3                

PenOid

Support for interacting with Private Enterprise Number (PEN) object identifiers (OIDs) assigned by IANA.

About

The Internet Assigned Numbers Authority (IANA) assigns Private Enterprise Numbers (PENs) to organizations and individuals on a first-come, first-served basis. Full details on obtaining a PEN can be found at the IANA web site along with a list of current registrations.

The prefix within the OID hierarchy for all PEN assignments is 1.3.6.1.4.1

Example Usage

Assuming a PEN value of 32473 from IANA, you can interact with the PenOid class by creating a new instance:

var penOid = new PenOid(32473);

Calling ToString() on the above instance will yield 1.3.6.1.4.1.32473.

You can create a new hierarchy beneath the 32473 tree by appending the new identifier to the PenOid instance:

penOid.AppendComponent(1);

Calling ToString() on the above instance will now yield: 1.3.6.1.4.1.32473.1.

You can also create a new PenOid instance by providing a full OID in dotted notation:

var penOid = new PenOid("1.3.6.1.4.1.32473.1.42");

IANA Registry

This package provides the PenRegistryProvider class to download and parse the IANA-maintained PEN registry:

var registryProvider = new PenRegistryProvider();
var registryContents = registryProvider.FromIana();

Assuming a successful web response, registryContents now contains a list of PenOidWithMetadata objects representing the IANA-maintained PEN registry. Each object stores the assigned PEN, registrant name, contact person, and contact detail for a specific PEN in the registry.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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
1.0.5 72 1/22/2025
1.0.4 72 1/21/2025
1.0.3 65 1/19/2025
1.0.2 63 1/18/2025