In The Hand LtdIn The Hand
GetProcessName Method (p)
NamespacesInTheHand.DiagnosticsProcessHelperGetProcessName(Process)
.NET Components for Mobility
Gets the name of the process.
Declaration Syntax
C#Visual Basic
public static string GetProcessName(
	Process p
)
Public Shared Function GetProcessName ( _
	p As Process _
) As String
Parameters
p (Process)
The Process.
Return Value

Equivalent to System.Diagnostics.Process.ProcessName in the full .NET Framework

The name that the system uses to identify the process to the user.
Remarks
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 are associated with the same executable file.
See Also

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0