Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Queries the properties for the device as JSON.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WIA 8.3 No Yes No No No
MBS( "WIA.DeviceProperties"; Device )   More


Parameter Description Example value
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.


Returns JSON or error.


Queries the properties for the device as JSON.
Use WIA.DevicePropertyKeys is you only need the keys.


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":   "",
  "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

Blog Entries

Release notes

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

WIA.DeviceCount   -   WIA.DevicePropertyKeys

Feedback: Report problem or ask question.

MBS Xojo tutorial videos