Enabling or disabling the system search function

how to enable / disable system search option via c # program

yes, I want to enable / disable (Start-> Search). I already disabled it through the program, I don't know how to enable it ..

-1


a source to share


1 answer


Maybe you should initiate ServiceController and stop / start it



ServiceController myService = new ServiceController("WSearch");
...
myService.Stop(); 
... 
myService.Start();

      

0


a source







All Articles