WIA.DeviceProperties
--------------------

Queries the properties for the device as JSON.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WIA](component_WIA.md) | [8.3](newinversion83.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WIA.DeviceProperties"; Device ) 

**MBS**( **"WIA.DeviceProperties";** /\* Queries the properties for the device as JSON. \*/  
**$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.e.g. $index \*/ 

### 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](WIADevicePropertyKeys.md) is you only need the keys.  
### Examples

Queries properties of first device:

 MBS ( "WIA.DeviceProperties"; 0 )  
<small>  
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 } </small>Query current device properties:

 MBS ( "WIA.DeviceProperties"; MBS ( "[WIA.GetCurrentDevice](WIAGetCurrentDevice.md)" ))  
### See also

- [WIA.DevicePropertyKeys](WIADevicePropertyKeys.md)
- [WIA.GetCurrentDevice](WIAGetCurrentDevice.md)
- [WIA.SetDevicePropertyValue](WIASetDevicePropertyValue.md)

### Release notes

- **Version 8.3**
    - Added [WIA.ItemProperties](http://www.mbsplugins.eu/WIAItemProperties.shtml) and [WIA.DeviceProperties](http://www.mbsplugins.eu/WIADeviceProperties.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[WIA.DeviceCount](WIADeviceCount.md) - [WIA.DevicePropertyKeys](WIADevicePropertyKeys.md)

[HTML Version](WIADeviceProperties.shtml)