Bitmap Screenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); Graphics GFX = Graphics.FromImage(Screenshot); GFX.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size); string Path = "/uploaded/goruntu.jpg"; Screenshot.Save(Path, ImageFormat.Jpeg);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)