public void Rename(Mp3File file) { watch.Start(); _renamer.Rename(file); watch.Stop(); Elapsed += watch.Elapsed; watch.Reset(); }
public void Rename(Mp3File file) { file.Move(Path.GetDirectoryName(file.Path) + "New" + Path.GetFileName(file.Path)); }
public bool CheckPermissions(Mp3File file, UserRole role) { return(role > (int)UserRole.Guest); }