Getting name of the current executable from assembly vs process?
See the question and my original answer on StackOverflowProcessName 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.