Visual C# Developer Center > Visual C# Forums > Visual C# General > Can we get the Application name from Task manager's Image Name or from process name in C#?
Ask a questionAsk a question
 

AnswerCan we get the Application name from Task manager's Image Name or from process name in C#?

  • Tuesday, November 03, 2009 4:32 PMprogramatic Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We can view any application (.exe) image name on Task Manager as for example:

    firefox = firefox.exe
    Microsoft Office Word = WINWORD.exe

    So my question is; is it possible tio retreive the application name (Firefox, Microsoft Office Word etc) by just having the process name (WINWORD.EXE)?

    Obv this is achievable by hard coding it but i want it in a general case (for most applications whose name that cant be easily determined by just looking at their process name (.exe)).....

    cheers

Answers

All Replies