How information about the user's locale can be accessed?



How information about the user's locale can be accessed?..

Answer / Tulika Srivastava

In ASP.NET, you can access the user's locale (language and regional settings) using the System.Globalization namespace. Specifically, you can use the `CultureInfo` class to get the current culture of the user by writing `System.Threading.Thread.CurrentThread.CurrentUICulture`. This will provide information like language, country/region, and UI-specific values.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Describe the master page.

1 Answers  


What is web api config?

1 Answers  


What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Patni,


What is difference between user control and custom control?

1 Answers   TVS,


Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

1 Answers  


what does membership class provide?

1 Answers  


Out of ASP or ASP.NET which one is stateless?

1 Answers   BirlaSoft,


Describe the .net base class library.

1 Answers  


witch is the best insistute in sharpoint course.what abt future of share point course.

3 Answers  


How to disable validator control by client side JavaScript?

1 Answers  


What setting must be added in the configuration file to deny a particular user from accessing the secured resources?

1 Answers  


What is application variable and when it is initialized ?

4 Answers   Keane India Ltd,


Categories