Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Detecting an active Remote Connection

Post Reply
iulia_paniti
Posts: 1
Joined: 2019-06-18 09:06

Detecting an active Remote Connection

Post by iulia_paniti »

Hello,
I would like to ask a question regarding the functionality of UltraVNC.

For the feature that I'm currently working at, I am trying to identify active remote connections on systems that are running UltraVNC, meaning that I must be able to detect whether UltraVNC is being used in Server mode idly or actively sharing with connected Viewers.

My current approach involves the following steps :
1) Searching through Windows Registry for the install location of the UltraVNC tool (HKey.LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Ultravnc2_is1)
2) Retrieving the port number used by UltraVNC from the ultravnc.ini file located at the install location (I know that UltraVNC uses the default 5900 but this can be modified by the user)
3) Listening to the port for established connections. (this way I can check whether UltraVNC is just open in server mode or actually sharing information remotely)

However, I have only tested this solution using the latest version of UltraVNC(Uvnc 1.2.2.4) and I would like to know if there could be possible issues in the case of older versions or other discrepancies that would make this solution not viable. Also, if the current solution is overly complicated, are there simpler alternatives that I could use?

Thank you for your time and best regards,
iulia_paniti
Post Reply