getting there
This commit is contained in:
@@ -29,6 +29,9 @@ namespace RemoteFrameBuffer.Client
|
||||
|
||||
private RgbFrameBuffer? _frameBuffer;
|
||||
|
||||
public delegate void BitmapUpdateCallback(Byte[] bitmap);
|
||||
public event BitmapUpdateCallback? FrameUpdate;
|
||||
|
||||
public RemoteFrameBufferClientProtocol(Stream s)
|
||||
{
|
||||
this.vncStream = s;
|
||||
@@ -213,7 +216,8 @@ namespace RemoteFrameBuffer.Client
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
this._frameBuffer!.SaveBitmap($"{DateTime.Now:yyyyMMdd-HHmmss}.bmp");
|
||||
this.FrameUpdate?.Invoke(this._frameBuffer!.ToBitmap());
|
||||
//this._frameBuffer!.SaveBitmap($"{DateTime.Now:yyyyMMdd-HHmmss}.bmp");
|
||||
}
|
||||
|
||||
protected void ServerMsg_SetColourMapEntries()
|
||||
|
||||
Reference in New Issue
Block a user