| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
WIA.DeviceProperties
Queries the properties for the device as JSON.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| WIA | 8.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
MBS( "WIA.DeviceProperties"; Device ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Device | You can pass index of device to check them in a row. Or pass name or unique ID of device. Pass empty string for current device. |
$index |
Result
Returns JSON or error.
Description
Queries the properties for the device as JSON.Use WIA.DevicePropertyKeys is you only need the keys.
Examples
Queries properties of first device:
MBS( "WIA.DeviceProperties"; 0 )
Example result:
{ "Unique Device ID": "{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\\0000", "Manufacturer": "Brother", "Description": "Brother DCP-8085DN LAN", "Type": 65537, "Port": "BRNET", "Name": "Brother DCP-8085DN LAN", "Server": "local", "Remote Device ID": "", "UI Class ID": "{4B29E704-7E5A-466c-A5FD-8BAEC62DC2BA}", "Hardware Configuration": 0, "BaudRate": "", "STI Generic Capabilities": 57, "WIA Version": "2.0", "Driver Version": "3.10.6.13", "PnP ID String": "\\\\?\\root#image#0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f}", "STI Driver Version": 3 }
Example result:
{ "Unique Device ID": "{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\\0000", "Manufacturer": "Brother", "Description": "Brother DCP-8085DN LAN", "Type": 65537, "Port": "BRNET", "Name": "Brother DCP-8085DN LAN", "Server": "local", "Remote Device ID": "", "UI Class ID": "{4B29E704-7E5A-466c-A5FD-8BAEC62DC2BA}", "Hardware Configuration": 0, "BaudRate": "", "STI Generic Capabilities": 57, "WIA Version": "2.0", "Driver Version": "3.10.6.13", "PnP ID String": "\\\\?\\root#image#0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f}", "STI Driver Version": 3 }
Query current device properties:
See also
Release notes
- Version 8.3
- Added WIA.ItemProperties and WIA.DeviceProperties functions.
Blog Entries
This function checks for a license.
Created 17th June 2018, last changed 15th November 2019