Files
linker/cmonitor/client/reports/active/IActiveWindow.cs

21 lines
556 B
C#

namespace cmonitor.client.reports.active
{
public interface IActiveWindow
{
public void DisallowRun(string[] names);
public ActiveWindowInfo GetActiveWindow();
public int GetWindowCount();
public Dictionary<uint, string> GetWindows();
}
public sealed class ActiveWindowInfo
{
public string Title { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public string Desc { get; set; } = string.Empty;
public uint Pid { get; set; }
}
}