public static SafeDeleteFile ( string file ) : bool | ||
file | string | |
Результат | bool |
public static bool SafeDeleteFile(string file)
{
try
{
return DeleteFile(file);
}
catch (Exception)
{
LogFile.AddVerboseLine("ERROR: Unable to remove file: <" + file + ">");
return false;
}
}