terminal-services

How to detect, from browser, if user is running in Remote Desktop session?

百般思念 提交于 2019-11-27 05:52:49
问题 Is there a ways to check inside a browser (e.g. javascript) if the user is running inside a Remote Desktop session? If the user is running their browser inside a Remote Desktop (i.e. Terminal Services), i want to disable animations on the web-site. If this were a native application, as opposed to a web-site, i could perform this checking using: //Native code isRemoteSession = GetSystemMetrics( SM_REMOTESESSION ); or //Managed Code: isRemoteSession = System.Windows.Forms.SystemInformation

API for Determining if App is Running on Citrix or Terminal Services [closed]

六月ゝ 毕业季﹏ 提交于 2019-11-27 04:33:57
I'm looking for an API/function I can call to determine if software is running on Citrix, Terminal Services, or a stand-alone PC. Optimally, it would work something like this: Select Case APIWhatSystem.Type.ToString Case "Citrix" bCitrix = True Case "TS" bTerminalServices = True Case "PC" bPC = True End Select I would prefer something that worked from an API call as opposed to looking at something in the registry as we're having more and more customers that are locking down the registry. Thanks. According to: http://forums.citrix.com/message.jspa?messageID=1363711 you can check the SESSIONNAME

API for Determining if App is Running on Citrix or Terminal Services [closed]

孤人 提交于 2019-11-26 12:45:03
问题 I\'m looking for an API/function I can call to determine if software is running on Citrix, Terminal Services, or a stand-alone PC. Optimally, it would work something like this: Select Case APIWhatSystem.Type.ToString Case \"Citrix\" bCitrix = True Case \"TS\" bTerminalServices = True Case \"PC\" bPC = True End Select I would prefer something that worked from an API call as opposed to looking at something in the registry as we\'re having more and more customers that are locking down the