2 references to GetDataBaseHandleWithAccess
System.ServiceProcess.ServiceController (2)
System\ServiceProcess\ServiceController.cs (2)
654
_serviceManagerHandle ??=
GetDataBaseHandleWithAccess
(_machineName, Interop.Advapi32.ServiceControllerOptions.SC_MANAGER_CONNECT);
748
using SafeServiceHandle databaseHandle =
GetDataBaseHandleWithAccess
(machineName, Interop.Advapi32.ServiceControllerOptions.SC_MANAGER_ENUMERATE_SERVICE);