Keiwando.NFSO
class
OpenedFile
public class OpenedFile
Summary
Stores basic information about a file which has been chosen by the user and has had its contents loaded into memory.
Constructors
public OpenedFile(string, byte[])
Initializes a new instance of the OpenedFile
class
with the specified filename and byte data.
Properties
public string Name
The filename including the extension.
public string Extension
The file extension (including the period ".").
public byte[] Data
The loaded byte contents of the file.
Methods
public string ToUTF8String()
A helper function which can be used to return the byte contents of the file interpreted as a UTF-8-encoded string.