KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a way in c# to check if the app is running on localhost (as opposed to a production server)? I am writing a mass mailing program that needs to use a certain mail queue is it's running on localhost. if (Localhost) { Queue = QueueLocal; } else { Queue = QueueProduction; }
Tags (comma-separated)
Save Edits
Cancel