Opens the specified machine-configuration file on the specified server as a System.Configuration.Configuration object, using the specified security context to allow read or write operations.
A System.Configuration.Configuration object.
This method is used to access a configuration file using impersonation.
The account token is usually retrieved from an instance of the System.Security.Principal.WindowsIdentity class or through a call to unmanaged code, such as a call to the Win32 API LogonUser. For more information about calls to unmanaged code, see Consuming Unmanaged DLL Functions.