PathComparerNormalize Method |
Converts
path to its normalized representation:
- Converts relative path to absolute path, using current directory and current drive information
- Replaces 'dot' path segments ('.' and '..') with appropriate directories
- Converts directory separators to primary directory separator
- Converts shortened 8.3 names to long names
- Strips trailing directory separators
- It's not required to normalize casing
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic static string Normalize(
string path
)
Parameters
- path
- Type: SystemString
Can be null.
Return Value
Type:
StringNormalized form of a given path, or
null if
path is
null.
RemarksNormalized form is obtained mainly by passing
path to
GetFullPath(String),
and stripping trailing separators afterwards.
See Also