/// <summary> /// Constructs a new instance of ClientCapability. /// See http://51degrees.mobi/Products/DeviceData/PropertyDictionary.aspx /// for a full list of available properties. /// All the properties used are non-lists and therefore the first /// item contained in the values list contains the only available value. /// </summary> public FiftyOneClientCapability(Device device) { Initialise(device.GetPropertyValuesAsStrings().ToDictionary(kvp => kvp.Key, kvp => kvp.Value.ToArray())); UserAgent = device.UserAgent; }