Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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 }

Query current device properties:

MBS( "WIA.DeviceProperties"; MBS( "WIA.GetCurrentDevice" ))

See also

Release notes

Blog Entries

This function checks for a license.

Created 17th June 2018, last changed 15th November 2019


WIA.DeviceCount - WIA.DevicePropertyKeys

💬 Ask a question or report a problem