Name | Description | |
---|---|---|
CopyIfNewer | Copy a file to a target location, replacing an existing file if the source is newer. | |
EnsurePathExists | Ensure that the path to the provided fully qualified file name exists, creating it if necessary. | |
GetFileSize | Find out the size of the file specified | |
GetTempFileName | Get a unique temp file name | |
GetTempFileStream | Overloaded. Open a temporary file for read and write and return the open FileStream. | |
GetTempFileStreamCopy | Overloaded. Copy the content of a Stream into a temporary file opened for read and write and return the open FileStream. | |
MakeFileNamePathUnique | Ensures that the provided full file name and path is unique, and makes it unique if necessary. | |
MakeFileWriteable | Checks the attributes on the file and clears read-only attributes. | |
SanitizeDirectoryName | Sanitize the provided directory name by substituting a specified character for illegal values. | |
SanitizeFileName | Sanitize the provided file name (without path) by substituting the specified character for illegal values. | |
StreamContentCopy | Overloaded. Copy the entire contents of one stream into another, preserving the source Position. | |
StreamContentPump | Overloaded. Pump the remaining contents of one stream at its current Position into another stream at its current Position. |