Search
Categories
  ASP.NET
Visual C#
Visual Basic
.NET Framework
ADO.NET
AJAX
LINQ
Java
 
How To Rating
 
1.0 out of 5


Total Votes: 1
         
1 2 3 4 5
 




How to obtain Current Machine Name in .NET

Author: Waqas Anwar - Posted Date: 16-July-2009 - Category: .NET Framework   
Bookmark and Share
If you want to know the machine name on which your .NET application is running you can use MachineName property of Environment class.
Console.WriteLine(Environment.MachineName);



RELATED HOW TOs

  How to obtain Operating System information in .NET
  How to obtain CLR Version in .NET
  How to obtain user name and domain name in .NET

LEAVE YOUR COMMENTS LEAVE YOUR COMMENTS
 Name (required)  
 Email (required
 Website


 

 


 
 
 

Categories

My Portfolio

Website Links


Copyright @ 2009 EzzyLearning.com