After reading the posts in this thread, I think using WTSManager.dll will help me do what I need. Can anyone tell me where to get this file?
Thanks.