AdjustSdk.Uap.SystemInfoEstimate.GetRootDeviceInfoAsync C# (CSharp) Метод

GetRootDeviceInfoAsync() приватный статический Метод

private static GetRootDeviceInfoAsync ( string propertyKey ) : Task
propertyKey string
Результат Task
        private static async Task<string> GetRootDeviceInfoAsync(string propertyKey)
        {
            var pnp = await PnpObject.CreateFromIdAsync(PnpObjectType.DeviceContainer,
                      RootContainer, new[] { propertyKey });
            return (string)pnp.Properties[propertyKey];
        }