I'm trying to grab a screen shot of a specific x, y location in an application. Is there any way to get a running app in a Process object, then get the dimensions of it?
Something like:
Process[] processlist = Process.GetProcesses();
foreach (Process proc in processlist)
{
Console.WriteLine("Process: {0} ID: {1}", proc.Width, proc.Height);
}