C# Class DotNetIO.Path

Utility class meant to replace the System.IO.Path class completely. This class handles these types of paths: UNC network paths: \\server\folder UNC-specified network paths: \\?\UNC\server\folder IPv4 network paths: \\192.168.3.22\folder IPv4 network paths: \\[2001:34:23:55::34]\folder Rooted paths: /dev/cdrom0 Rooted paths: C:\folder UNC-rooted paths: \\?\C:\folder\file Fully expanded IPv6 paths
Afficher le fichier Open project: DotNetIO/DotNetIO Class Usage Examples

Private Properties

Свойство Type Description
ContainsInvalidChars bool
GetDirectoryName string
GetDirectorySeparatorChars char[]
GetExtension string
GetFileName string
GetFileNameWithoutExtension string
GetFullPath string
GetInvalidFileNameChars char[]
GetInvalidPathChars char[]
GetPathInfo PathInfo
GetPathRoot string
GetPathWithoutLastBit Path
GetPathWithoutRoot string
GetRandomFileName string
GetTempFileName Path
GetTempPath Path
HasExtension bool
IsPathRooted bool
NormDirSepChars string

Private Methods

Méthode Description
ContainsInvalidChars ( string path ) : bool
GetDirectoryName ( string path ) : string
GetDirectorySeparatorChars ( ) : char[]
GetExtension ( string path ) : string
GetFileName ( string path ) : string
GetFileNameWithoutExtension ( string path ) : string
GetFullPath ( string path ) : string
GetInvalidFileNameChars ( ) : char[]
GetInvalidPathChars ( ) : char[]
GetPathInfo ( string path ) : PathInfo
GetPathRoot ( string path ) : string
GetPathWithoutLastBit ( string path ) : Path
GetPathWithoutRoot ( string path ) : string
GetRandomFileName ( ) : string
GetTempFileName ( ) : Path
GetTempPath ( ) : Path
HasExtension ( string path ) : bool
IsPathRooted ( string path ) : bool
NormDirSepChars ( string pathWithAlternatingChars ) : string