Click here to Skip to main content
11,582,800 members (70,932 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 OriginalGriff 305
1 Sergey Alexandrovich Kryukov 220
2 Andy Lanng 114
3 Stefan_Lang 110
4 virusstorm 109
0 OriginalGriff 1,358
1 Sergey Alexandrovich Kryukov 970
2 Abhinav S 671
3 F-ES Sitecore 505
4 Suvendu Shekhar Giri 448


Advertise | Privacy | Mobile
Web04 | 2.8.150603.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