get user name and computer name

Hi,
how can i get the user's info, computer name, and if possible other things using VB.net,
now i can get my application's version number.
i need that to write in myu log file,
thanks
LVL 3
mte01Asked:
Who is Participating?
 
Fahad MukhtarConnect With a Mentor Distinguished EngineerCommented:
 Console.WriteLine(Environment.MachineName)
        Console.WriteLine(Environment.UserName)
0
 
Fahad MukhtarDistinguished EngineerCommented:
You can find many other useful thing in the same useful Environment Class
0
 
mte01Author Commented:
>>Desp

That did the trick...thanks fo your help!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.