Remotely/Server/Models/RemoteControlFrame.cs
2021-07-29 07:56:06 -07:00

31 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Remotely.Server.Models
{
public class RemoteControlFrame
{
public RemoteControlFrame(byte[] frameBytes, int left, int top, int width, int height, string viewerID, string machineName, DateTimeOffset startTime)
{
this.FrameBytes = frameBytes;
this.Left = left;
this.Top = top;
this.Width = width;
this.Height = height;
this.ViewerID = viewerID;
this.MachineName = machineName;
this.StartTime = startTime;
}
public byte[] FrameBytes { get; private set; }
public int Left { get; private set; }
public int Top { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public string ViewerID { get; private set; }
public string MachineName { get; private set; }
public DateTimeOffset StartTime { get; private set; }
}
}