Remotely/Remotely_Server/Models/RemoteControlFrame.cs

31 lines
1023 B
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, DateTime 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 DateTime StartTime { get; private set; }
}
}