2011-10-06 23:57:43 -07:00
|
|
|
|
using System.Diagnostics;
|
2011-10-06 23:36:04 -07:00
|
|
|
|
|
2011-10-22 22:26:43 -07:00
|
|
|
|
namespace NzbDrone.Common.Model
|
2011-10-06 23:36:04 -07:00
|
|
|
|
{
|
|
|
|
|
public class ProcessInfo
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2011-12-11 22:52:58 -08:00
|
|
|
|
public string Name { get; set; }
|
2011-10-06 23:36:04 -07:00
|
|
|
|
public string StartPath { get; set; }
|
2011-12-11 22:52:58 -08:00
|
|
|
|
public ProcessPriorityClass Priority { get; set; }
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return string.Format("{0}:{1} [{2}] [{3}]", Id, Name ?? "Unknown", StartPath ?? "Unknown", Priority);
|
|
|
|
|
}
|
2011-10-06 23:36:04 -07:00
|
|
|
|
}
|
2011-10-06 23:57:43 -07:00
|
|
|
|
}
|