c# - Accessing A CultureInfo setting (locale)? -


if set user's culture info in global.asax such strculture locale "en-us":

system.threading.thread.currentthread.currentculture     = new system.globalization.cultureinfo(strculture);  system.threading.thread.currentthread.currentuiculture     = new system.globalization.cultureinfo(strculture); 

then how access culture set elsewhere in application (after login)?

thanks.

i spent consideration before posting well, peter mentioned earlier in comment can't come better way using currentuiculture.

cultureinfo currentculture = thread.currentthread.currentculture; 

if that's not looking for, please give more information. :)


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -