bool deleteFile(string filePath)
Deletes a file, and returns true if the file was deleted
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
filePath |
string The path of the file you wish to delete |
Return
True on success, and false if the file did not exist or an error occurred
Examples
if (KioFileIO.getFileDetails('/home/kiosk/Documents/Test.txt').exists)
KioFileIO.deleteFile('/home/kiosk/Documents/Test.txt');
Requirements
KioWare OS (Linux®) version 1.0 or greater.
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.