View on GitHub

LiTools

Tools

File class

File helper.

public static class File

Public Members

name description
static DeleteFile(…) Delete file.
static Exist(…) Check if a file exist.
static FileExists(…) Do file exist?.
static GetFolderFromFilePath(…) Get Directory Path from file path.
static ReadBinaryFile(…) Read file as byte. (2 methods)
static ReadTextFile(…) Read file as string.
static VerifyFileReadAccess(…) Do we have read acess to this file.
static WriteFile(…) Write file. (4 methods)

See Also