string |
GetDirectoryList(string rootdir, bool listDirectories = true, string extensionFilter = null, int sortFlags = 0)
Gets a list of files and directories at a specified location.
|
string |
GetFileDetails(string filePath)
Gets details of a file.
|
string |
GetDirectoryDetails(string dirPath)
Gets details of a directory.
|
bool |
CreateDirectory(string dirPath)
Creates a directory, and returns true if the directory was created.
|
bool |
DeleteDirectory(string dirPath)
Deletes a directory, and all files in it.
|
bool |
MoveDirectory(string from, string to)
Moves and/or renames a directory.
|
bool |
CreateFile(string filePath)
Creates a file, and returns true if the file was created.
|
bool |
DeleteFile(string filePath)
Deletes a file, and returns true if the file was deleted.
|
bool |
MoveFile(string from, string to)
Moves and/or renames a file.
|
int[] |
ReadFileData(string filePath, int64 startPosition, int byteLength)
Reads bytes from a file.
|
string |
ReadFileDataBase64(string filePath, int64 startPosition, int byteLength)
Reads bytes from a file as a base-64 encoded string.
|
string |
ReadFileText(string filePath, int maxCharsToRead = -1, string characterEncoding = null, bool useByteOrderMarks = true)
Reads characters from a file, or by default; the whole file.
|
void |
WriteFileData(string filePath, int[] bytes, bool append)
Write bytes to a file.
|
void |
WriteFileText(string filePath, string text, bool append, string characterEncoding = null)
Writes text to a file.
|
void |
WriteFileDataBase64(string filePath, string base64Data, bool append)
Writes binary data to a file.
|
string |
GetSessionTempDir()
Gets the KioWare temp directory for the current system user.
|
string |
GenerateSessionTempFilepath(string extForFilenameWithDot)
Gets a unique filepath located in the KioWare temp directory.
|