public void RunTest() { var rester = new Api.Rest.Mothership(); var data = new Mothership.Data { DeviceUniqueId = "lalala" }; rester.Fire(data); }
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 { } }); }