Platforms to show: All Mac Windows Linux Cross-Platform
Back to WMIObjectMBS class.
WMIObjectMBS.GetNames as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
WMIObjectMBS.GetProperty(Name as string) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Objects, booleans, strings and numbers are supported directly. Also string arrays in version 13.1.
Other values are casted to string first.
WMIObjectMBS.GetPropertyBoolean(Name as string) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 13.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Value must be of a numeric type.
WMIObjectMBS.GetPropertyDouble(Name as string) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Value must be of a numeric type.
WMIObjectMBS.GetPropertyInt64(Name as string) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WMIObjectMBS.GetPropertyInteger(Name as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Value must be of a numeric type.
WMIObjectMBS.GetPropertyObject(Name as string) as WMIObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Value must be of an IUnknown type.
Some examples using this method:
WMIObjectMBS.GetPropertyString(Name as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
Some examples using this method:
WMIObjectMBS.GetPropertyStringArray(Name as string) as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 13.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
WMIObjectMBS.GetPropertyType(Name as string) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
You can send in the value you get here and the plugin can be changed to handle this type, too. Currently only numbers and strings are handled.
WMIObjectMBS.GetPropertyTypeString(Name as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Windows | MBS Win Plugin | 12.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
For example type 8 is returned as "string".
The items on this page are in the following plugins: MBS Win Plugin.