/// <summary> /// Gets the family name (ex: Windows.Holographic) of the device. /// </summary> /// <returns>String containing the device's family.</returns> public async Task <string> GetDeviceFamilyAsync() { DeviceOsFamily deviceFamily = await this.GetAsync <DeviceOsFamily>(DeviceFamilyApi).ConfigureAwait(false); return(deviceFamily.Family); }
private static async Task <Dictionary <String, String> > DeviceOsFamilyToDico(Dictionary <string, string> returnedInfo, DeviceOsFamily osFamily) { returnedInfo.Add("Device Os Family", osFamily.Family); return(returnedInfo); }
/// <summary> /// Gets the family name (ex: Windows.Holographic) of the device. /// </summary> /// <returns>String containing the device's family.</returns> public async Task <string> GetDeviceFamily() { DeviceOsFamily deviceFamily = await this.Get <DeviceOsFamily>(DeviceFamilyApi); return(deviceFamily.Family); }