SnmpSource Help

MibXmlDoc.GetNodeIDByName Method 

To check whether a specified Object ID is available. If yes, return true and pass the OID by output parameter.

public bool GetNodeIDByName(
   string strName,
   ref string oid
);

Parameters

strName
Object Name
oid
Object ID. If a specified object exists, pass the OID value by this output parameter.

Return Value

If the specified Object Name exists, return true; else, return false.

See Also

MibXmlDoc Class | SnmpSource.Mib Namespace