How can a program detect that it is running on Citrix?

I am creating a program that may or may not start inside an instance of Citrix. A program needs to detect this because it must behave differently on Citrix. How can it be detected in a reliable way? So far, I assumed that the computer has a C-drive.

+3
source share
2 answers
bool(os.environ.get('citrix_version'))

I think this is the best way to detect in python.

+1
source

I assume you want to know if your application is running on a XenApp (aka Presentation Server / Metaframe) session?

C: . , Citrix , . C: M:. "en vogue".

, . .

, XenApp/Presentation Server , , Citrix CTX107570.

+3

Source: https://habr.com/ru/post/1780965/


All Articles