diff USBLib/Windows/Devices/DeviceNode.cs @ 63:309c705d7460

Updates and cleanup in Windows USB enumeration code
author Ivo Smits <Ivo@UCIS.nl>
date Sun, 13 Oct 2013 18:43:45 +0200
parents d4778c3232ad
children 9096f62d18c4
line wrap: on
line diff
--- a/USBLib/Windows/Devices/DeviceNode.cs	Sun Oct 13 02:47:08 2013 +0200
+++ b/USBLib/Windows/Devices/DeviceNode.cs	Sun Oct 13 18:43:45 2013 +0200
@@ -244,6 +244,7 @@
 		public String PhysicalDeviceObjectName { get { return GetPropertyString(CMRDP.PHYSICAL_DEVICE_OBJECT_NAME); } }
 		public Guid? BusTypeGuid { get { return SetupApi.GetAsGuid(GetProperty(CMRDP.BUSTYPEGUID)); } }
 		public Int32? BusNumber { get { return SetupApi.GetAsInt32(GetProperty(CMRDP.BUSNUMBER)); } }
+		public Int32? Address { get { return SetupApi.GetAsInt32(GetProperty(CMRDP.ADDRESS)); } }
 		public String EnumeratorName { get { return GetPropertyString(CMRDP.ENUMERATOR_NAME); } }
 
 		public String[] GetInterfaces(String classGuid) {