Re: GINA - Remote Desktop Connection

From: Jakub Gwozdz (gwozdziu_at_rpg.pl)
Date: 11/16/05


Date: Wed, 16 Nov 2005 14:30:14 +0100

Dnia Wed, 16 Nov 2005 03:58:05 -0800, serji napisał(a):

> Hi,
>
> I have written a own GINA that hooks in the exisitng MSGINA (as ginahook
> does) with support for smart card logon.
>
> Now my GINA needs to detect if the authentication is made in the local
> machine or is made via Remote Desktop Connection. That is, i need to know if
> the user is in the local machine (where my GINA is installed) or if he is in
> a remote machine.
>
> Is there any way to know this?

GetSystemMetrics(SM_REMOTESESSION)

> Thanks in advance and sorry for my poor english!

:)

-- 
Jakub Gwóźdź
gwozdziu@rpg.pl


Relevant Pages