DeviceFileSystem
Wisej.Hybrid.DeviceFileSystem
Last updated
Wisej.Hybrid.DeviceFileSystem
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to interact with the device's file system, allowing you to perform various file-related operations.
Access this class through the FileSystem singleton.
Initializes a new instance of DeviceFileSystem.
Creates a directory at the given path.
Deletes the directory at the given path.
Deletes the file at the given path.
Determines whether a file exists at the given path.
Returns: Boolean. true if the file exists; otherwise, false.
Gets a list of file names in the specified directory.
Returns: String[]. An array of file names in the directory.
Reads the bytes from a file at the given path.
Returns: Byte[]. An array of bytes representing the file contents.
Reads the text from a file at the given path.
Returns: String. The text content of the file.
Writes the provided bytes to a file at the given path.
Writes the provided text to a file at the given path.