File |
public static class FileIOHelper
The FileIOHelper type exposes the following members.
Name | Description | |
---|---|---|
GetFilterDescriptionForAllFiles | Gets the filter description for all files. | |
GetFilterDescriptionForExtensions | Converts the file extensions to file filter. | |
GetValidFullPathName | Get a valid full file name out of a raw file name that can contain invalid characters. Those characters are replaced by unicode chars. Here, special measures are taken to not accidentally replace the question mark and colon in absolute file names, starting with e.g. C:\... or \\?\C:\.... | |
GetValidPathNameFragment | Get a valid file name part out of a raw file name that can contain invalid characters. Those characters are replaced by unicode characters. Attention: the provided name should not be an absolute file name. This is because here, in a file name like C:\Temp.txt, the colon would be replaced by a unicode character. If an absolute name needs to be processed, use the function GetValidFullPathName(String). Backslash chars are sustained. |
Name | Description | |
---|---|---|
InvalidFileNameChars |