You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That the RemoteDesktop Connect method works without errors.
Current Behavior
When using VNCSharp this method was working fine but the performance was very bad. I upgraded my project to .NET Core 8.0 and used VNCSharpCore instead.
// Create a new RemoteDesktop control
RemoteDesktop newRd = new RemoteDesktop();
vncPanel.Controls.Add(newRd); // Add the new control to the panel
newRd.Dock = DockStyle.Fill;
try
{
// Connect
newRd.Connect(ipAddress, true, true); // Adjust parameters as needed
// Optionally, handle disconnections or other events here
newRd.ConnectionLost += (sender, e) =>
{
MessageBox.Show("Connection lost.");
};
}
catch (Exception ex)
{
MessageBox.Show($"Failed to connect: {ex.Message}"); //fails here with the error in the title.
}
Possible Solution
I need to know what this Parameter 'stream' is so I can fix it.
Steps to Reproduce (for bugs)
Not sure as it's specific to our environment.
Context
Trying to make a grid of all our Linux devices where all VNC Clients are visible in the grid in real time over a local network at 1 Gbps.
Your Environment
VNC Servers are running on Linux, client can simply connect with IP address.
The text was updated successfully, but these errors were encountered:
Expected Behavior
That the RemoteDesktop Connect method works without errors.
Current Behavior
When using VNCSharp this method was working fine but the performance was very bad. I upgraded my project to .NET Core 8.0 and used VNCSharpCore instead.
// Create a new RemoteDesktop control
RemoteDesktop newRd = new RemoteDesktop();
vncPanel.Controls.Add(newRd); // Add the new control to the panel
newRd.Dock = DockStyle.Fill;
try
{
// Connect
newRd.Connect(ipAddress, true, true); // Adjust parameters as needed
// Optionally, handle disconnections or other events here
newRd.ConnectionLost += (sender, e) =>
{
MessageBox.Show("Connection lost.");
};
}
catch (Exception ex)
{
MessageBox.Show($"Failed to connect: {ex.Message}"); //fails here with the error in the title.
}
Possible Solution
I need to know what this Parameter 'stream' is so I can fix it.
Steps to Reproduce (for bugs)
Not sure as it's specific to our environment.
Context
Trying to make a grid of all our Linux devices where all VNC Clients are visible in the grid in real time over a local network at 1 Gbps.
Your Environment
VNC Servers are running on Linux, client can simply connect with IP address.
The text was updated successfully, but these errors were encountered: