IPWorks SNMP 2020 .NET Edition

Questions / Feedback?

MibBrowser Component

Properties   Methods   Events   Configuration Settings   Errors  

The MIBBrowser component is used to parse SNMP MIB Module definitions.

Syntax

nsoftware.IPWorksSNMP.Mibbrowser

Remarks

The MIBBrowser component allows easy loading and querying of definitions in the SNMP Management Information Base (MIB) specifications.

The LoadMib method allows loading of MIB modules, which get stored in an internal tree structure for further queries.

If modules reference (import) other modules, recursive loading of modules is performed automatically and/or controlled by the ImportSymbols event.

The MIB tree is navigated through the SelectNode method, which enables pointing to a node in the tree specified by NodeOid and NodeLabel. Other node information is provided through the NodeModuleName, NodeFileName, NodeSyntax, NodeType, and NodeAccess properties.

The node selector parameter in SelectNode can be a label such as "internet", an OID such as "1.3.6.4", a combination of the two: "iso.3.dod.internet", or a label in a particular module such as "RFC1213-MIB!interfaces".

Node children and successors are provided by the ListChildren and ListSuccessors methods. The individual node information is provided via the MibNode event.

Module traps are listed via the ListTraps method. The individual trap information is provided through the TrapNode event.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

ExactMatchControls the way the OID matching is done (complete or partial).
NodeAccessThe access permissions for the selected node.
NodeDescriptionTextual description of the selected node.
NodeFileNameThe absolute path of the file where the selected node is declared.
NodeFullLabelThe full label of the selected node.
NodeIndexThe index of the node in a table.
NodeLabelThe label of the selected node.
NodeModuleNameThe name of the module where the selected node is declared.
NodeOidThe Object ID of the selected node.
NodeSubIdThe SubId of the currently selected node.
NodeSyntaxThe syntax of the selected node.
NodeSyntaxStringThe node syntax of the selected node in text format.
NodeTypeThe type of the selected node.
NodeTypeStringThe node type of the selected node in text format.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
ListChildrenLists the immediate children of the selected node.
ListSuccessorsLists all successors of the selected node.
ListTrapsLists all the traps defined in the loaded modules.
LoadMibParses the file FileName and adds the parsed nodes to the collection of existing nodes.
ResetReset all properties of the component.
SelectNodeUsed to select individual nodes in the loaded MIB module(s).

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorErrors that occur while loading/parsing MIB modules are fired through this event.
ImportSymbolsList of imported symbols and the respective modules where they are declared.
MibNodeThis event fires once for every child or successor of the currently selected node when invoking ListChildren or ListSuccessors .
TrapNodeLists module trap information.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

AutoLoadMibsDetermines whether imported MIB modules are loaded automatically.
CacheDescriptionsControls caching of Node descriptions.
CacheMibsControls MIB module caching.
CheckNoKnownRootsControls whether or not the component fails when a file with no known root is loaded.
DisplayHintThe DISPLAY-HINT property for the current node.
MibExtensionsControls the file extensions that the component will search for.
NodeIsColumnarWhether the current node is columnar.
NodeIsScalarWhether the current node is scalar.
ReturnEnumValuesComma-separated list of the current node's enumeration textual-conventions.
UndefinedSymbolsComma-separated list of nodes that have not been resolved.
BuildInfoInformation about the product's build.
GUIAvailableTells the component whether or not a message loop is available for processing events.
LicenseInfoInformation about the current license.
UseInternalSecurityAPITells the component whether or not to use the system security libraries or an internal implementation.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks SNMP 2020 .NET Edition - Version 20.0 [Build 8202]