How to get the current user`s login time? I mean the time, that he logged on the Windows (XP)?
thank you very much in advance for any help
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipal ChoksiPosted Jan 3, 2007, 3:04 AM
The StartTime member should give you the time at which the session started.
Using WMI in .Net: http://msdn2.microsoft.com/en-us/library/ms257340.aspx
Hope this helps...