public static async Task<string> GetDeviceModelAsync() { var rootContainer = await PnpObject.CreateFromIdAsync(PnpObjectType.DeviceContainer, RootContainer, new[] { ModelNameKey }); return (string)rootContainer.Properties[ModelNameKey]; }