Getting computer name

  • Thread starter Thread starter Richard Sheridan
  • Start date Start date
R

Richard Sheridan

Hi,

How do I get a users computer name using the .NET
Framework?

Many thanks,
Richard Sheridan
 
Hello,

Richard Sheridan said:
How do I get a users computer name using the .NET
Framework?

Have a look at the Environment.MachineName property.

HTH,
Herfried K. Wagner
 
Check out the shared environment class. :

- Environment.MachineName
- Environment.Username
- ..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top