Tech Off Post

Single Post Permalink

View Thread: C#:How do you kill an application when all you have is the GUID?
  • User profile image
    Richard.Hein

    lagu26537 wrote:
    Also the network technician told me the exe is probably svchost.exe. Now I need to unload a dll which I think I know the name of from svchost.exe. How do you do that?


    If it's always the same dll, then you can find out which host it's in by using Component Services/Computer/My Computer/DCOM and finding your GUID, take a look at the properties, etc....

    If svchost is your host, is it a Windows Service?  Then you just kill the service, using System.ServiceProcess.ServiceController.