Method FileSystemRedirection.Disable
Overload
If osVersion.is32BitProcessAnd64BitOS, calls API Wow64DisableWow64FsRedirection, which disables file system redirection.
The caller can call this without checking OS and process bitness. This function checks it and it is fast.
Always call FileSystemRedirection.Revert or Dispose, for example use finally
or using
statement. Not calling it is more dangerous than a memory leak. It is not called by GC.
public void Disable()