Is running in terminal server


/ Published in: Delphi
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function IsRemoteSession: boolean;
  2. const
  3. sm_RemoteSession = $1000;
  4. begin
  5. result := GetSystemMetrics(sm_RemoteSession) <> 0;
  6. end;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.