"Through out the question I just talk only on the client side using asp.net"
My requirement is to "Capture the window screen for few minutes and store it as video of any format."
For example if I want to capture the screen of the window and store in some jpeg or gif format, I can use the system.windows.forms library and can achieve as below code
public void StartCapturing(object sender, EventArgs e)
{
System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
System.Drawing.Graphics graphics = System.Drawing.Graphics.FromImage(bitmap as System.Drawing.Image);
graphics.CopyFromScreen(25, 25, 25, 25, bitmap.Size);
bitmap.Save(@"D:\Raghu\MyScreenshots\myscreenshot3.bmp", System.Drawing.Imaging.ImageFormat.Bmp);
}
So my question is that is there any library that I can include so that it can satisfy my need by adding some code as simple as possible. I have seen some tools like snagit etc., but I could n't get clarity regarding that. Any clarifications are appreciated...