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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -