public string FormatConfig(WindowServiceInfo serviceInfo)
 {
     if (serviceInfo == null)
     {
         return(string.Empty);
     }
     return(MyModelHelper.MakeIniStringExt(serviceInfo, lastSplit: Environment.NewLine));
 }
 public void LoadConfig()
 {
     //todo read from config
     ServiceInfo                     = new WindowServiceInfo();
     ServiceInfo.ServiceName         = "AnyWs-Foo";
     ServiceInfo.ServicePath         = "AnyWs.exe";
     ServiceInfo.ServiceFriendlyName = "000-AnyWs-Foo";
 }