How to read properties of existing device connection - Example Code