Hi,
I am running Windows 7, SP1.
I would like to be able to tell if a TFTP server is running by checking the processes, so I tried this:
Dim proc() As Diagnostics.Process = Diagnostics.Process.GetProcessesByName(My.Settings.TftpServerWindowsProcessName)
It seems to show up whether is running or not.
A check of Task Manager's Processes shows that it's listed when running, and not listed when not running, as you would expect. But it always appears in the Services tab, running or not. Maybe that's why it always appears as a process? I could not kill the service either.
Does any one know how I could determine whether the exe is running or not?
Thanks
I am running Windows 7, SP1.
I would like to be able to tell if a TFTP server is running by checking the processes, so I tried this:
Dim proc() As Diagnostics.Process = Diagnostics.Process.GetProcessesByName(My.Settings.TftpServerWindowsProcessName)
It seems to show up whether is running or not.
A check of Task Manager's Processes shows that it's listed when running, and not listed when not running, as you would expect. But it always appears in the Services tab, running or not. Maybe that's why it always appears as a process? I could not kill the service either.
Does any one know how I could determine whether the exe is running or not?
Thanks