Click here to Skip to main content
11,705,453 members (54,593 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Win2008-R2
Hi,


I'm using a rdp control like the one here

http://beta.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx?msg=3451028[^]

I have connected a local user.

I want that the control will log off the user (disconnecting the user isn't enough) via c# code after some time-out period.

I'm doing all that because apparently the log on scripts works only after a proper log off and not just disconnection/exit.



Does someone know how is it done?
Posted 6-May-10 5:25am
Edited 6-May-10 9:47am
(no name)10.2K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 286
1 OriginalGriff 269
2 ppolymorphe 78
3 Inimicos 60
4 ProgramFOX 50
0 OriginalGriff 9,053
1 Sergey Alexandrovich Kryukov 8,347
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,626


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 6 May 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100