The Sheek Geek
The Sheek Geek

Reputation: 4216

Obtaining the culture of the web server

Is there a way to obtain the culture of the server my web application is deployed on through code? We are running an asp.net c# web application on an IIS 7 box with Crystal Reports installed.

Upvotes: 1

Views: 664

Answers (2)

Lex Li
Lex Li

Reputation: 63173

Why does a web application need to check the server's culture while it should be designed to run on any server?

I think it is weird that a web application can only be deployed to English version of Windows.

Upvotes: 0

Eric Smith
Eric Smith

Reputation: 5392

How about:

CultureInfo.CurrentCulture

Upvotes: 3

Related Questions