Esempio n. 1
0
 public string GetServiceDllPath(string serviceName)
 {
     if (string.IsNullOrWhiteSpace(serviceName))
     {
         throw new ArgumentNullException(nameof(serviceName));
     }
     using (var service = new ServiceEditor(serviceName))
     {
         var dll = service.GetServiceDLL();
         return(dll);
     }
 }