PenOid 1.0.3
See the version list below for details.
dotnet add package PenOid --version 1.0.3
NuGet\Install-Package PenOid -Version 1.0.3
<PackageReference Include="PenOid" Version="1.0.3" />
paket add PenOid --version 1.0.3
#r "nuget: PenOid, 1.0.3"
// 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 | Versions 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. |
-
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.