Struct FileSystemRedirection
File system redirection functions. Can temporarily disable redirection, to allow this 32-bit process access the 64-bit System32 directory.
Example: using (FileSystemRedirection r1 = new()) { r1.Disable(); ... }.
public struct FileSystemRedirection : IDisposable
Namespace: Au.More
Assembly: Au.dll
Methods
| Name | Description |
|---|---|
| Disable() | If osVersion.is32BitProcessAnd64BitOS, calls API Wow64DisableWow64FsRedirection, which disables file system redirection. |
| Dispose() | Calls FileSystemRedirection.Revert. |
| GetNonRedirectedSystemPath(string, bool) | If osVersion.is32BitProcessAnd64BitOS is |
| IsSystem64PathIn32BitProcess(string) | Returns |
| Revert() | If redirected, calls API Wow64RevertWow64FsRedirection. |