The following pages provide detailed information on the properties and methods for the various classes that implement both file and serial port input and output communications.
The File Class is designed specifically for managing disk files and disk file directories. The StreamReader and StreamWriter Classes apply to both file and serial communications.
The tables below summarize the properties and methods for each Class, which are described in greater detail in the following sections.
File Class Member | Type | Description |
---|---|---|
Shared Function |
Returns a CRC check code computed by reading though a file. Used to verify that a file has not been corrupted. |
|
Shared Function |
Returns the length of a file computed by reading through a file and counting the bytes. Used to verify that a file has not been corrupted. |
|
Shared Method |
Copies a single file on devices like the flash disk and ROMDISK. |
|
Shared Method |
Creates a file directory and the path to the directory. |
|
Shared Method |
Deletes a single, empty file directory. |
|
Shared Method |
Deletes a single file. |
|
Shared Method |
Returns an array of strings containing the names of directories in a directory. |
|
Shared Method |
Returns an array of strings containing the names of files in a directory. |
|
Shared Function |
Efficiently returns the length of a file based on its directory entry. |