Samayas.Tools.MIBExtractor 1.2.0

Prefix Reserved
dotnet add package Samayas.Tools.MIBExtractor --version 1.2.0
                    
NuGet\Install-Package Samayas.Tools.MIBExtractor -Version 1.2.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="Samayas.Tools.MIBExtractor" Version="1.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Samayas.Tools.MIBExtractor" Version="1.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Samayas.Tools.MIBExtractor" />
                    
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 Samayas.Tools.MIBExtractor --version 1.2.0
                    
#r "nuget: Samayas.Tools.MIBExtractor, 1.2.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.
#:package Samayas.Tools.MIBExtractor@1.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Samayas.Tools.MIBExtractor&version=1.2.0
                    
Install as a Cake Addin
#tool nuget:?package=Samayas.Tools.MIBExtractor&version=1.2.0
                    
Install as a Cake Tool

Logo Samayas Tools MIB Extractor

A lightweight .NET library for parsing SNMP MIB (Management Information Base) files and extracting OID definitions, object types, and hierarchical structures.

Technical Documentation

Getting Started

Video

Here you can find a video describing how to use this MIB Extractor https://l.samayas.eu/8Jhm0mYYNm

Installation

dotnet add package Samayas.Tools.MIBExtractor

Basic Usage

// Parse a MIB file
MIBParser parser = new MIBParser(@"C:\MIBs\RFC1213-MIB.mib");

// Get all parsed nodes
IDictionary<string, MIBNode> nodes = parser.GetParsedNodes();

// Look up a specific OID
MIBNode node = parser.GetNodeFromOID("1.3.6.1.2.1.1.1.0");
Console.WriteLine($"{node.Name}: {node.Description}");

// Export hierarchical tree
parser.PrintMIBTree(Console.Out);

Key Features

  • Parse standard SNMP MIB files
  • Extract OID definitions and resolve full OID paths
  • Navigate hierarchical MIB tree structures
  • Support for OBJECT-TYPE, NOTIFICATION-TYPE, and TEXTUAL-CONVENTION definitions
  • Export flat OID lists or hierarchical tree views
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.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.2.0 41 11/25/2026
1.1.9 93 11/10/2026
1.1.8 117 10/21/2026
1.1.5 174 5/25/2026
1.1.3 156 3/14/2026
1.1.2 160 1/6/2026
1.0.7 275 10/13/2025
1.0.6 243 10/13/2025
1.0.5 239 10/13/2025
1.0.4 257 10/12/2025

- Initial Release
           - Update to .Net 10
           - Update to .Net 11