|
|
|
เราจะบันทึกการทำงานของหน้าจอคอมพิวเตอร์ได้อย่างไร ด้วย C# |
|
|
|
|
|
|
|
Code (C#)
private Image CaptureScreen()
{
Rectangle screenSize = Screen.PrimaryScreen.Bounds;
Bitmap target = new Bitmap(screenSize.Width,screenSize.Height);
using(Graphics g = Graphics.FromImage(target))
{
g.CopyFromScreen(0,0,0,0,new Size(screenSize.Width,screenSize.Height));
}
return target;
}
http://stackoverflow.com/questions/397754/record-video-of-screen-using-net-technologies
|
|
|
|
|
Date :
2011-12-09 17:41:02 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 02
|