Programmatically Getting the IP Address and Hostname of a Terminal Servcies/Citrix Session
Have you ever needed to get the IP address or hostname of all sessions on a Citrix or Terminal Server programmatically. Perhaps at login to do some special scripting? I have personally faced this dilemma. It is quite easy to use MFCOM to obtain this information, but MFCOM may not be viable due to security restrictions. Also, MFCOM doesn’t help you in a pure Terminal Services environment. To get this information in a pure Terminal Services environment, you will need to utilize WTSAPI (the Terminal Service API). These two methods are not the only two methods available. Vishal Ganeriwala has posted a blog entry that gives you for ways to programmatically get this information. Vishal tells us how to get this information via MFCOM, WFAPI, WTSAPI, and ICO SDK. Whether you are a seasoned API developer, or just a beginner, I think the information Vishal has put together will help you have a deeper understanding of Citrix/TS APIs.
Technorati : API, Citrix, MFCOM, Program, Terminal Services, WTSAPI
Del.icio.us : API, Citrix, MFCOM, Program, Terminal Services, WTSAPI
Ice Rocket : API, Citrix, MFCOM, Program, Terminal Services, WTSAPI
