Desktop remote application with RDP protocol

Asked

Viewed 282 times

0

I’m making an application based on the example Remote Desktop application with RDP Protocol. But, how to change the color of the transmission? That is, the property colordepth. 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 chunk of code where I set the window size 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 that the transmission is faster.

  • Friend when asking a question try to give more details about: problem, tried code so far, language and structure you are doing etc, If you still have doubts, see the manual on how to ask a good question. The lack of detail can cause the absence of an answer and your question can be closed due to lack of details.

  • What language is involved? If you can add the tag, the code will render syntax highlighting.

  • I am using c# windows form, added the code snippet where I set the window size, which 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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.