private void Setup() { Task.Factory.StartNew(() => { try { var data = new Api.Rest.Mothership.Data { DeviceUniqueId = GetPhoneVar("DeviceUniqueId"), DeviceFirmwareVersion = GetPhoneVar("DeviceFirmwareVersion"), DeviceManufacturer = GetPhoneVar("DeviceManufacturer"), DeviceName = GetPhoneVar("DeviceName"), DeviceTotalMemory = GetPhoneVar("DeviceTotalMemory"), PhysicalScreenResolution = GetPhoneVar("PhysicalScreenResolution"), }; var mothership = new Api.Rest.Mothership(); mothership.Fire(data); } catch { } }); }
private void Setup() { Task.Factory.StartNew(() => { try { var data = new Api.Rest.Mothership.Data { DeviceUniqueId = GetPhoneVar("DeviceUniqueId"), DeviceFirmwareVersion = GetPhoneVar("DeviceFirmwareVersion"), DeviceManufacturer = GetPhoneVar("DeviceManufacturer"), DeviceName = GetPhoneVar("DeviceName"), DeviceTotalMemory = GetPhoneVar("DeviceTotalMemory"), PhysicalScreenResolution = GetPhoneVar("PhysicalScreenResolution"), }; var mothership = new Api.Rest.Mothership(); mothership.Fire(data); } catch { } }); }