first_page

Random Screen Shot: The WindowsImpersonationContext.Dispose() Method

The WindowsImpersonationContext.Dispose() Method

My first ‘nested question’ from “An ASP.NET Question (or Two)” is answered. You can see it in the screenshot from Reflector above. Microsoft does call WindowsImpersonationContext.Undo() in Dispose(). This means that making a using block with a WindowsImpersonationContext object is safe. More power to Lutz Roeder’s Reflector!

rasx()