Exemple #1
0
 private void set_automatic_service(ServiceController controller)
 {
     controller.ChangeStartMode(ServiceStartMode.Automatic);
     _log.Info("service '{0}' is set to automatic mode", NetTcpPortSharing);
 }