The situation is I have an existing C# web application (.NET 3.5) hosted on Windows Server 2003 on a company Intranet. I want to get the name of the computer on which the web application is hosted. This can be achieved by:
Environment.MachineName
Environment requires the System namespace.
RSS Feed
Posted in
Tags: 
