aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.RemoteDesktop/Network/RemoteDesktopPacket.cs
blob: f0186e94f41fb18ba60668b3477fbf6c5dcb042c (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
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

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; }

        /// <summary>
        /// Gets or sets the mouse position.
        /// </summary>
        public Point MousePosition { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether the frame includes the remote cursor.
        /// </summary>
        public bool CursorVisible { get; set; }
    }
}