c# - How can I get username and remote machine name when user is connecting via RDC? -


i using sessionswitch of systemevents class detect remote desktop connection , need know username of connecting user , remote machine name (from user connecting). how can data in windows service?

i have found environment.username it's not need.

thanks in advance.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

mysql - Pass value between different pages (form) with PHP -