protected override void OnStop()
        {
            if (serviceHost != null)
            {
                serviceHost.Close();
            }
            InfoProviderCenter infoProviderCenter = new InfoProviderCenter();
            infoProviderCenter.StopSampling();

        }
     private static void runProgram()
     {
 
         ServiceHost serviceHost = new ServiceHost(typeof(InfoProviderCenter));
         serviceHost.Open();
         InfoProviderCenter infoProviderCenter = new InfoProviderCenter();
         infoProviderCenter.StartSampling();
         LogManager.Instance.WriteInfo("InfoProviderCenter Server Started...........");
     }