Solved

How to Get Server Name in ASP.NET

Posted on 2013-02-05
2
178 Views
Last Modified: 2013-02-26
Hi all,

Please let me know how to get server name in asp.net.  Thanks.

Regards,
Wilson
0
Comment
Question by:wclwong
2 Comments
 
LVL 23

Expert Comment

by:Ioannis Paraskevopoulos
ID: 38854383
Hi,

Request.ServerVariables["SERVER_NAME"] 

Open in new window


Giannis
0
 
LVL 1

Accepted Solution

by:
mgbm_it earned 500 total points
ID: 38854463
you can use
System.Environment.MachineName
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now