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.
Added support for integer, double, single and boolean arrays in v25.4.
If you find a type we don't handle, please let us know. See GetPropertyType() or GetPropertyTypeString().
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.GetPropertyBooleanArray(Name as string) as Boolean() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Boolean, we cast them to Boolean.
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.GetPropertyDoubleArray(Name as string) as Double() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Double, we cast them to Double.
WMIObjectMBS.GetPropertyInt16Array(Name as string) as Int16() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Int16, we cast them to Int16.
WMIObjectMBS.GetPropertyInt32Array(Name as string) as Int32() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Int32, we cast them to Int32.
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.GetPropertyInt64Array(Name as string) as Int64() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Int64, we cast them to Int64.
WMIObjectMBS.GetPropertyInt8Array(Name as string) as Int8() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Int8, we cast them to Int8.
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.GetPropertySingleArray(Name as string) as Single() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not Single, we cast them to Single.
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".
WMIObjectMBS.GetPropertyUInt16Array(Name as string) as UInt16() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not UInt16, we cast them to UInt16.
WMIObjectMBS.GetPropertyUInt32Array(Name as string) as UInt32() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not UInt32, we cast them to UInt32.
WMIObjectMBS.GetPropertyUInt64Array(Name as string) as UInt64() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not UInt64, we cast them to UInt64.
WMIObjectMBS.GetPropertyUInt8Array(Name as string) as UInt8() New in 25.4
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Windows | MBS Win Plugin | 25.4 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop, Console & Web |
If values are not UInt8, we cast them to UInt8.
The items on this page are in the following plugins: MBS Win Plugin.