Varia

Identity

Without impersonation - in main thread

WindowsIdentity.GetCurrent().Name = peter de keyser
Thread.CurrentPrincipal.Identity.Name = peter de keyser

Without impersonation - in new thread

WindowsIdentity.GetCurrent().Name = peter de keyser
Thread.CurrentPrincipal.Identity.Name = peter de keyser

With impersonation - in main thread

WindowsIdentity.GetCurrent().Name = account to which impersonated
Thread.CurrentPrincipal.Identity.Name = Peter de Keyser

With impersonation - in new thread

WindowsIdentity.GetCurrent().Name = NT AUTHORITY\NETWORK SERVICE
Thread.CurrentPrincipal.Identity.Name = Peter de Keyser

XHTML

Difference between HTML and XHTML

XHTML Wikipedia
Beware of XHTML

FireFox tricks

Remember login / password

1. Go to about:config
2. Look for ntlm
3. Double click on network.automatic-ntlm-auth.trusted-uris
4. Add the website without a / on the end.
5. For multiple sites, use a comma (,) between the items

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License