[GH-ISSUE #669] on client connect action #419

Open
opened 2026-02-27 15:50:17 +03:00 by kerem · 2 comments
Owner

Originally created by @MyMindWorld on GitHub (Jun 10, 2018).
Original GitHub issue: https://github.com/quasar/Quasar/issues/669

How can i add in OnClientConnected function that will automatic open a remote desktop?
it should be easy to do, but for me is too hard for now to read c# code.
Thank you in advance, you made a very good job)

Originally created by @MyMindWorld on GitHub (Jun 10, 2018). Original GitHub issue: https://github.com/quasar/Quasar/issues/669 How can i add in OnClientConnected function that will automatic open a remote desktop? it should be easy to do, but for me is too hard for now to read c# code. Thank you in advance, you made a very good job)
Author
Owner

@ghost commented on GitHub (May 17, 2019):

its pretty easy, just program something like this:

private void OnConnect()
{
if (client.Connect == True)
{
remoteDesktop.Show();
}

}

Note: Fudge I am gravedigging

Second Note: This code is NOT functioning! I only wrote it to show what it should look like.

<!-- gh-comment-id:493575897 --> @ghost commented on GitHub (May 17, 2019): its pretty easy, just program something like this: private void OnConnect() { if (client.Connect == True) { remoteDesktop.Show(); } } Note: Fudge I am gravedigging Second Note: This code is NOT functioning! I only wrote it to show what it should look like.
Author
Owner

@yankejustin commented on GitHub (May 20, 2019):

This would be very easy to implement by making this event public and filtering out the desired connection state.

<!-- gh-comment-id:493966879 --> @yankejustin commented on GitHub (May 20, 2019): This would be very easy to implement by making [this event](https://github.com/quasar/QuasarRAT/blob/master/Quasar.Client/Networking/QuasarClient.cs#L91) public and filtering out the desired connection state.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#419
No description provided.