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
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; backgroun
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; }
    }
}