Name | Description | |
---|---|---|
![]() ![]() | CanCreateFile | Overloaded. Tests for the ability to create (write) the specified file |
![]() ![]() | CanDeleteFile | Tests for the ability to delete the specified file. Warning: If this method succeeds the specified file is DELETED. |
![]() ![]() | CanReadExistingFile | Tests for the ability to open an existing file for read access. |
![]() ![]() | CanWriteExistingFile | Tests for the ability to open an existing file for write access. |
![]() ![]() | CopyDirectory | Copies the contents of the source directory to the target |
![]() ![]() | FormatFileSize | Gets a human readble number from the file size |
![]() ![]() | GetResizedImage | Overloaded. Resizes a given image to the specified width and height |
![]() ![]() | GetResizeInfo | Overloaded. Determines the best resize dimensions for an image. |
![]() ![]() | GetSafeBaseImageName | Gets a string that is suitable for use as a base image name |
![]() ![]() | GetUniqueFileName | Gets a unique file name based on the given file name. If a file with same name already exists in the given path it will add numbers to the name until a unique name is found |
![]() ![]() | IsExtensionValid | Indicates whether a filename has a valid extension |
![]() ![]() | IsImageFile | Tests a file to see whether it is an image. |
![]() ![]() | IsTextFile | Checks a file extension to see whether it is recognized as a text file. |
![]() ![]() | ReadText | Reads all data from the given file in a text string |
![]() ![]() | SafeMapPath | Helper method to map relative paths to absolute paths |
![]() ![]() | SaveToTextFile | Overloaded. Save or append text into a text file, saves using a default encoding as UTF-8. |
![]() ![]() | WriteBytes | Overloaded. Records a textual byte-by-byte representation of the given data to the file specified |
![]() ![]() | WriteImageFile | Overloaded. Writes an image to the file name specified |