Advertise() public static method

public static Advertise ( WmiSession wmisession ) : void
wmisession WmiSession
return void
Example #1
0
 bool xenwinsvc.IRefresh.Refresh(bool force)
 {
     lock (pvinstalllock)
     {
         while (!initialised)
         {
             System.Threading.Monitor.Wait(pvinstalllock);
         }
         if (force)
         {
             Feature.Advertise(wmisession);
         }
         if ((!installing()) && (needsinstalling || (FeatureLicensed.IsLicensed() != pvinstalledStatus)))
         {
             RefreshXenstore();
             return(true);
         }
         return(false);
     }
 }
Example #2
0
 void RefreshXenstore()
 {
     Feature.Advertise(wmisession);
     RegisterPVAddons();
 }