Sharpen.FileHelper.RenameTo C# (CSharp) Method

RenameTo() public method

public RenameTo ( FilePath path, string name ) : bool
path FilePath
name string
return bool
		public virtual bool RenameTo (FilePath path, string name)
		{
			try {
				File.Move (path, name);
				return true;
			} catch {
				return false;
			}
		}