C# - How to get company name of running process

Paweł Łepko 21 Reputation points


How to get the name of an application manufacturer from a running process? In the "Process Explorer - Winternals" application, the last column contains information about the program's producer. I want to extract this information about a certain process using C# language. How to do it?

Best regards,

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
9,031 questions
{count} votes

Accepted answer
  1. RLWA32 35,051 Reputation points

    For example following prints company name for Visual Studio IDE (devenv.exe) -

        Process p = Process.GetProcessesByName("devenv")[0];
        Console.WriteLine("Company Name is {0}", p.MainModule.FileVersionInfo.CompanyName);
    0 comments No comments

0 additional answers

Sort by: Most helpful