G
Guest
I need to find the time that the user started the current windows session
(i.e. when they logged in).
I cannot find how to get the date & time, or amount of time since login.
I need a method that will work for Windows 2000 Pro, Windows XP Pro, Windows
2000 Server (all) and above.
Some of my customers only have single Windows 2000 Professional P.C and no
proper server so I cannot use any method that relies on a Domain Server being
available.
I've got the user name using GetUserName() and the time since System Boot
using PdhOpenQuery() etc.
(i.e. when they logged in).
I cannot find how to get the date & time, or amount of time since login.
I need a method that will work for Windows 2000 Pro, Windows XP Pro, Windows
2000 Server (all) and above.
Some of my customers only have single Windows 2000 Professional P.C and no
proper server so I cannot use any method that relies on a Domain Server being
available.
I've got the user name using GetUserName() and the time since System Boot
using PdhOpenQuery() etc.