src/Lurker/ProcessLurker.cs
/// <summary>
/// Gets my process by identifier.
/// </summary>
/// <param name="processId">The process identifier.</param>
/// <returns>The process.</returns>
Gets my process by identifier.
Gets my process by identifier .
public static Process GetProcessById(int processId)
        {
            try
            {
                return Process.GetProcessById(processId);
            }
            catch
            {
                return null;
            }
        }
public static Process GetProcessById ( int processId ) { try { return Process . GetProcessById ( processId ) ; } catch { return null ; } }
Gets my process by identifier.
Gets my process by identifier .
None
processId
int
The process identifier.
The process identifier .