Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Differences compared to System.IO

Jeffrey Jangli edited this page Aug 26, 2016 · 6 revisions

Differences compared to System.IO


System.IO.Directory.Exists()
System.IO.Directory.Exists() internally throws a System.ArgumentException: Illegal characters in path when encountering the long path notation: \\?\ and returns False, even if the folder exists. AlphaFS returns True when the folder exists.

System.IO.Path.GetFullPath()
Input Path: \\?\GLOBALROOT\device\harddisk0\partition1\
System.IO: Caught [System.IO] System.ArgumentException: [Paths that begin with \\?\GlobalRoot are internal to the kernel and should not be opened by managed applications.
AlphaFS: Returns Input Path: \\?\GLOBALROOT\device\harddisk0\partition1\

Clone this wiki locally