views:

48

answers:

1

Hi,

I'm trying to "shadow" a session within a session opened through AxMSTCLib (using c# app), but I get ejected. Is this normal with TS2008 ?

If so, as anyone ressource explaining how to open a shawod rdp session using managed code ?

Regards,

Stéphane

A: 

If you want to programmatically start remote control of a session, you can do so using the Cassia library -- download the latest trunk build from the project's build server (login as a guest) and use the ITerminalServicesSession.StartRemoteControl method.

I have had issues with sessions being disconnected when ending remote control (see this thread), but I'm not sure if that's what you are referring to.

Dan Ports