interop - C# CultureInfo ignoring impersonation -


i want cultureinfo used user (that not logged on). thought use impersonation described in question, cultureinfo seems ignore impersonation.

if windowsidentity.getcurrent().name) name of non-logged-on user, if cultureinfo.currentculture culture of user starting application instead!

how can cultureinfo user?

i looked @ getuserdefaultlocalename in windows apis, i'm not familiar enough interop never working, , couldn't find online examples on how use c#. don't know if method work or if experience same issue.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -