ThatRickGuy
Programmer
Just wondering if anyone has run into this before. I'm looking to impliment a version of Chrissie's code for auto updating an app, but terminal server is a bit of a pain, you can't x-copy over files on terminal server. (You can how ever uninstall/reinstall even if users are in the app!) Anyways, I need to find out if the app is running on terminal server so that I can prevent the auto-update code from running. Things I've tried:
Environment.OSVersion: returns "Microsoft NT 5.0.2195.0" I can not be sure that the machine is Terminal Server, or just a Win 2k client.
GetVersionEx API call GetVersionEx is pretty old, and while it can identify Windows NT Terminal Server, it can not identify Windows 2k Terminal Server.
Things yet to try: Looking in running services? Not sure where to start on that one.
Any ideas, thoughts, comments?
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
I believe in killer coding ninja monkeys.![[monkey] [monkey] [monkey]](/data/assets/smilies/monkey.gif)
Environment.OSVersion: returns "Microsoft NT 5.0.2195.0" I can not be sure that the machine is Terminal Server, or just a Win 2k client.
GetVersionEx API call GetVersionEx is pretty old, and while it can identify Windows NT Terminal Server, it can not identify Windows 2k Terminal Server.
Things yet to try: Looking in running services? Not sure where to start on that one.
Any ideas, thoughts, comments?
-Rick
VB.Net Forum forum796 forum855 ASP.NET Forum
![[monkey] [monkey] [monkey]](/data/assets/smilies/monkey.gif)
![[monkey] [monkey] [monkey]](/data/assets/smilies/monkey.gif)