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];
        }