File
Provides methods for chunked-downloads of a file.
Counts the lines of files.
Provides methods for chunked-uploads of a file.
Gets the singleton instance of File.
protected File()
Initializes a new, empty, instance of File.
Replace known illegal characters in the provided string with the provided conversion string.
Copies the specified file to the specified destination.
Copies the specified file to the specified destination, optionally overwriting the file at the destination.
Counts the files in the specified directory.
Counts the files in the specified directory.
Counts the number of lines in the file specified by the provided path.
Creates a file at the provided path.
Opens a filestream over the provided path, optionally with append capablilites.
Creates a file at the specified path with the provided text, using the specified encoding.
Delete Files in a list
Deletes the specified file path.
Deletes the specified file.
Background Deletion of Files
Determines if the file at the specified path exists.
Gets the SHA1 hash of the specified file.
Gets the length of the specified file.
Extracts the file name of the provided path.
Gets the file size of the specified file path.
Gets the full file path of the specified file.
Indicates whether or not the specified File is read-only.
Gets the length, in bytes, of the specified file.
Forces the file at the specified path to allow write.
Moves the specified file to the specified destination.
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
Note: do not use if concerned with memory consumption (e.g. extra large files)
Reads the data of the specified file into an in-memory buffer.
Reads the data of the specified file into an in-memory string.
Reads a string of the specified length from the file.
Validates that a stream can be opened on the file.