Platforms to show: All Mac Windows Linux Cross-Platform

Back to NetSNMPMBS class.

NetSNMPMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Network Plugin 17.3 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The constructor.

NetSNMPMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Network Plugin 17.3 ✅ Yes ❌ No ✅ Yes ✅ Yes All
The destructor.

NetSNMPMBS.Query(ObjectID as String) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Network Plugin 17.3 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Peforms a SNMP Get Query
Example
dim s as new NetSNMPMBS

s.Community = "demopublic"
s.IP = "test.net-snmp.org"

dim r as string = s.Query("system.sysUpTime.0")

MsgBox r

Please set community and IP properties before.
Lasterror and ErrorMessage properties are set.

NetSNMPMBS.QueryMT(ObjectID as String) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Network MBS Network Plugin 17.3 ✅ Yes ❌ No ✅ Yes ✅ Yes All
Peforms a SNMP Get Query
Example
dim s as new NetSNMPMBS

s.Community = "demopublic"
s.IP = "test.net-snmp.org"

dim r as string = s.Query("system.sysUpTime.0")

MsgBox r

Please set community and IP properties before.
Lasterror and ErrorMessage properties are set.

Same as Query, but thread friendly.

The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...