Beispiel #1
0
 public void RefreshInstalledState()
 {
     if (!String.IsNullOrEmpty(ProductID))
     {
         bool result  = false;
         var  appInfo = new ApplicationApi.ApplicationInfo(ProductID);
         if (appInfo.IsValid())
         {
             result = true;
         }
         appInfo     = null;
         IsInstalled = result;
     }
 }
Beispiel #2
0
 public void RefreshInstalledState()
 {
     if (!String.IsNullOrEmpty(ProductID))
         {
             bool result = false;
             var appInfo = new ApplicationApi.ApplicationInfo(ProductID);
             if (appInfo.IsValid())
                 result = true;
             appInfo = null;
             IsInstalled = result;
         }
 }