I'm doing an example-based application Remote Desktop application with RDP protocol . But how to change the color of the transmission? That is, the colordepth
property. I'm using the following:
public static void Connect()
{
currentSession.OnAttendeeConnected += Incoming;
currentSession.SetDesktopSharedRect(0, 0, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height);
currentSession.colordepth = 8;
currentSession.Open();
}
This snippet of code where I define the size of the window works perfectly, I can put the size I want, including up to the second monitor or third, but the color I want it to be black and white so the transmission is faster .