Varbind

A Variable Binding (Varbind) represents a set of Oid/Value pairs. Individual Variable Bindings are stored in the Vb class. Individual Variable Bindings are stored in the Vb class.

Create a variable binding and add the Object identifier in string format:

Vb vb = new Vb("1.3.6.1.2.1.1.1.0")

Create a variable binding and add the Object identifier in Oid format:

Oid oid = new Oid("1.3.6.1.2.1.1.1.0");

Vb vb = new Vb(oid);