public PackedDeviceInformations(DeviceInformation[] deviceInfos)
 {
     this.devices = deviceInfos;
     this.count =(byte) deviceInfos.Length;
 }
 public void updateDeviceInfo(DeviceInformation deviceInfo)
 {
     deviceInfoDictionary.Remove(deviceInfo.contactDescriptorByteValue);
        deviceInfoDictionary.Add(deviceInfo.contactDescriptorByteValue, deviceInfo);
 }