public static bool Delete(User path)
{
path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, path);
try
{
if (File.Exists(path))
{
File.Delete(path);
return true;
}
else
{
return true;
}
}
catch (Exception e)
{
e.Message.ToString();
return false;
}
}