About 5,860 results
Open links in new tab
  1. Process.ProcessName Property (System.Diagnostics) | Microsoft …

    The ProcessName property holds an executable file name, such as Outlook, that does not include the .exe extension or the path. It is helpful for getting and manipulating all the processes that …

  2. c# - How to get real running process name? - Stack Overflow

    Jul 21, 2017 · In a .NET core console app, I'd like to get the running process name, I used ProcessName as the docs say, but it always returns dotnet as the process name, not the …

  3. How to get process handle from process name in C#

    Nov 10, 2024 · To get the process handle from a process name in C#, you need to use the System.Diagnostics namespace, specifically the Process class. The …

  4. get process name from it's own description? - Super User

    May 16, 2016 · In principle you can have the list of all the processes, then the executable name and path; when the size matches you can run something like md5sum and check if they are …

  5. Get Process Id by Name or Path with .NET | BEN ABT

    Dec 14, 2022 · To get the PID by path, you will first need to obtain a list of all running processes on the system. This can be done with the Process.GetProcesses () method, which returns an …

  6. C# Process - working with processes in C# language - ZetCode

    Jul 5, 2023 · In this article, we explore how to work with processes in C# using the System.Diagnostics namespace. The Process class provides access to both local and remote …

  7. Windows: Get Process Name From PID - ShellHacks

    Oct 31, 2020 · Get the process name and path to an executable file by PID (process ID) from the command-line prompt (CMD) or a Windows PowerShell.

  8. Process.GetProcessesByName Method (System.Diagnostics)

    A processName can be specified for an executable file that is not currently running on the local computer, so the array the method returns can be empty. The process name is a friendly …

  9. c# - Is it possible to get own process name? - Stack Overflow

    Dec 8, 2011 · Process.GetCurrentProcess Method is what you need : you can probably simplify your code very much by using: see here: Process.GetCurrentProcess Method. I want to …

  10. How to Set the Process Name for My Own Application

    Learn how to set the process name in your application with detailed explanations and code examples. Optimize your process management in development.