blob: 368065dca1b72983ede85bd658a5a21a225adef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Main.cs $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr>.
It may be used under the terms of the GNU General Public License. */
namespace HandBrake.ApplicationServices.Functions
{
using System.Diagnostics;
/// <summary>
/// Useful functions which various screens can use.
/// </summary>
public static class Main
{
/// <summary>
/// Get the Process ID of HandBrakeCLI for the current instance.
/// </summary>
/// <returns>A list of processes</returns>
public static Process[] GetCliProcess()
{
return Process.GetProcessesByName("HandBrakeCLI");
}
}
}
|