Simon Mourier's Avatar
Simon Mourier's blog (1807 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI3, AOT, P/Invoke, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • .net
  • c#

Getting name of the current executable from assembly vs process?

Dec 6, 2011 See the question and my original answer on StackOverflow

ProcessName is the name of the Operating System host process.

Assembly CodeBase points to an assembly inside a given process. The same assembly can be hosted by different processes.

  • SmoBlog © 2010-2026 Simon Mourier. All rights reserved.
  • Privacy & Terms