Click or drag to resize

Parser2Compile Method (Stream, ErrorRegistry, String)

Loads a MIB file.

Namespace:  Lextm.SharpSnmpPro.Mib.Registry
Assembly:  SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.2
Syntax
public static IEnumerable<Module> Compile(
	Stream stream,
	ErrorRegistry registry,
	string fileName = ""
)

Parameters

stream
Type: System.IOStream
The stream.
registry
Type: Lextm.SharpSnmpPro.Mib.ValidationErrorRegistry
The registry.
fileName (Optional)
Type: SystemString
The file name (default value is empty).

Return Value

Type: IEnumerableModule
Exceptions
ExceptionCondition
ArgumentNullExceptionstream
See Also