SpareNet Servers Advertising & Link Exchange

اطلاعیه

بستن
هیچ اطلاعیه ای هنوز ایجاد نشده است .

Take Screenshot based on a Timer

بستن
X
 
  • فیلتر
  • زمان
  • نمایش
پاک کردن همه
نوشته‌های جدید

  • Take Screenshot based on a Timer

    ابزاری برای ذخیره تصویر از دسکتاپ بر اساس زمان ذره ذره جمع گردد وانگهی دریا شود
    ارسال تصاویرو با ایمیل و یا اف تی پی تنظیم کنید و یک ابزار کوچولو داشته باشین فقط برای تست البته

    کد:
    System.Windows.Forms.Timer t = new System.Windows.Forms.Timer();
    Thread th;
    private static Bitmap bmpScreenshot;
    private static Graphics gfxScreenshot;
    
    void TakeScreenShot()
    {
    bmpScreenshot = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, PixelFormat.Format32bppArgb);
    gfxScreenshot = Graphics.FromImage(bmpScreenshot);
    gfxScreenshot.CopyFromScreen(Screen.PrimaryScreen. Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy);
    bmpScreenshot.Save(Environment.GetFolderPath(Envir onment.SpecialFolder.DesktopDirectory) + @"\ScreenCaptures", ImageFormat.Png);
    th.Abort();
    }
    
    void StartThread(object sender, EventArgs e)
    {
    th = new Thread(new ThreadStart(TakeScreenShot));
    th.Start();
    }
    
    private void Form1_Load(object sender, EventArgs e)
    {
    Directory.CreateDirectory(Environment.GetFolderPat h(Environment.SpecialFolder.DesktopDirectory) + @"\ScreenCaptures");
    t.Interval = 500;
    t.Tick += new EventHandler(StartThread);
    t.Start();
    }
    -----------------------------SAFE MASTER---------------------------
    تاپیک هکر های تازه وارد
صبر کنید ..
X