The following tables list the members exposed by NPath.
| Name | Description |
 | InvalidPathChars | Invalid path characters were obtained from System.IO.Path by using the IL Spy disassembler. |
  | Unix | The Unix file path implementation |
  | Windows | The Windows file path implementation |
Top
| Name | Description |
 | Combine | Overloaded. Combines two paths into one. |
 | GetExtension | Gets the extension of the specified file name without the dot, for example: "txt", "rtf", "docx", etc. If the given file name does not have an extension, String.Empty is returned. |
 | GetFileName | Gets only the file name and the extension of the given path. Also works for directories. For example, if the path is "C:\Documents\MyFile.txt", this method returns "MyFile.txt". If the path it "C:\Documents", this method returns "Documents". |
 | GetFileNameWithoutExtension | Gets only the file name of the given full file path without the file extension. For example, if the path is "C:\Documents\MyFile.txt", this method returns "MyFile". |
 | GetFullPath | Returns the absolute path for the specified path string using the current directory if the given path string is relative. |
 | GetParentFolderName | Gets the name of the parent folder of the given path. For example, if the path is "C:\Documents\MyFile.txt", this method returns "Documents". |
 | GetParentFolderPath | Gets the path to the parent folder of the given path. For example, if the path is "C:\Documents\MyFile.txt", this method returns "C:\Documents\". |
 | GetPathRoot | Gets the root directory information of the specified path (e.g. "C:\"). |
 | IsPathRooted | Checks whether the specified path string contains a root, for example "C:\Documents\MyFile.txt" contains a root - "C:\" and an Unix (Mac OS) path "/Users/John/Documents/MyFile.txt" contains a root "/". |
 | JoinPath | Joins the specified path steps into a single path string. |
 | MakeRelative | Gets a relative path leading from the first path (fromPath) to the second one (toPath). For example, if you pass "C:\Documents\Mark" as fromPath and "C:\Documents\Jane" as toPath, the resulting relative path will be "..\Jane". |
 | Normalize | Normalizes the given path by resolving all "." and ".." path segments. The directory separator character for the current platform is used, i.e. '\' for Windows and '/' for Mac. For example, normalizing "C:\Documents\..\MyFile.txt" will result in "C:\MyFile.txt". |
 | SplitPath | Gets the steps in this path. Also retrieves whether the path is rooted. |
Top