c# - Auto restart windows service -
i trying window service in c#, should running always. if there crash or shutdown, should automatically restart. considered using service controller class, problem how handle if both service controller & service go down @ same time. there watchdog functionality in windows can register , takes care of service start up?
you consider using recovery options of service. can set through properties of service when running services.msc.
Comments
Post a Comment