C# - How to get company name of running process

Paweł Łepko 26 Reputation points
2021-07-16T11:13:29.613+00:00

Hello,

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,
Paweł

C#
C#
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.
10,906 questions
{count} votes

Accepted answer
  1. RLWA32 45,476 Reputation points
    2021-07-16T11:34:37.567+00:00

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.