/// <summary> /// Deletes the specified file. /// </summary> /// <param name="path">The name of the file to remove.</param> unsafe public void DeleteFile(string path) { string full_path = FullPath(CurrentDirectory, path); if (Exists(full_path)) { MobileDevice.AFCRemovePath(hAFC, full_path); } }