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
Login Time
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dipal ChoksiRank #199 · 12K reputationPosted Jan 2, 2007, 10:04 PM EST
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...