コード例 #1
0
 public async Task GetAppLicenses()
 {
     using (ComosWeb cw = GetComosWeb(true))
     {
         var task = cw.GetAppLicensesComosDashboard();
         Console.WriteLine(string.Format("DashBoard = {0}", task.Result.IsAppUsageLicensed));
         task = cw.GetAppLicensesComosProjects();
         Console.WriteLine(string.Format("Projects = {0}", task.Result.IsAppUsageLicensed));
         task = cw.GetAppLicensesComosTaskManagement();
         Console.WriteLine(string.Format("TaskManagement = {0}", task.Result.IsAppUsageLicensed));
         task = cw.GetAppLicensesManual();
         Console.WriteLine(string.Format("Manual = {0}", task.Result.IsAppUsageLicensed));
         var value = await cw.Logout();
     }
 }