public static class IOHelper
CheckIfLocal | Checks for a local path. |
Combine | Combines two strings into a path. |
DoesDirectoryExist | Checks whether a directory exists. |
DoesFileExist | Checks whether a file exists. |
GetDirectoryInfo | Gets the directory information for a directory name. |
GetDirectoryName | Returns the directory name for the specified path string. |
GetExtension | Returns the extension of the specified path string. |
GetFileInfo | Gets the file information for a filename. |
GetFileName | Returns the file name and extension of the specified path string. |
GetFileNames | Returns a file list from the directory matching the given search pattern. |
GetFileNameWithoutExtension | Returns the file name of the specified path string without the extension. |
GetFullPath | Returns the absolute path for the specified path string. |
ReadAllText(String) | Opens a text file, reads all lines of the file, and then closes the file. |
ReadAllText(String, Encoding) | Opens a file, reads all lines of the file with the specified encoding, and then closes the file. |
RemoveLastDirSeparator | Returns a directory path without any trailing directory separator characters. |