aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.RemoteDesktop/ICaptureMethod.cs
blob: 0ac8add89dd2eafe78e7e3296525da9fbfb450c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.RemoteDesktop
{
    /// <summary>
    /// Represents a screen capture method.
    /// </summary>
    /// <seealso cref="System.IDisposable" />
    public interface ICaptureMethod : IDisposable
    {
        /// <summary>
        /// Gets the desktop bitmap.
        /// </summary>
        /// <param name="region">The capture region.</param>
        /// <returns></returns>
        Bitmap GetDesktopBitmap(CaptureRegion region);
    }
}