Getting Windows User Info.

adnan_seles

New member
Joined
Mar 1, 2006
Messages
3
Programming Experience
Beginner
Hi,

I'm new to the VB.NET platform as well as this forum. I'm currently using Windows XP. What I need is to get the user information on Windows XP, i.e. Username, Login Time, Login Date. Can somebody suggest me the code for that? I'll b obliged
 
You'll need to access the microsoft win32 registry namespace and under Hkey_Current_User. this contains all the information of the current user.
 
Back
Top