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

namespace Tango.RemoteDesktop.Network
{
    public class RemoteDesktopPacket
    {
        /// <summary>
        /// Gets or sets the bitmap byte array.
        /// </summary>
        public byte[] Bitmap { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the <see cref="Bitmap"/> is a partial bitmap that needs to be applied over the previous one.
        /// </summary>
        public bool IsPartial { get; set; }

        /// <summary>
        /// Gets or sets the region on the previous bitmap that needs to be applied with this packet bitmap.
        /// </summary>
        public CaptureRegion PartialRegion { get; set; }
    }
}