public static bool RequestAccessAsync() { bool result = true; try { client = new BackgroundTaskServiceClient(); } catch { result = false; } return result; }
static BackgroundTaskManager() { client = new BackgroundTaskServiceClient(); }