How to Write Writing Terminal Server Aware Java Program

Dear experts,

I would like to write a Terminal Server Aware Java Program. The program should be able to get information for currently connected sessions via Windows API or using other way. How can I achieve this?

Any code example welcomes.

Who is Participating?
CEHJConnect With a Mentor Commented:
Use Java JNA with the Terminal Services API:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.