There is no rename method in .NET for files. The way we do it is to use File.Move method to move the file within the same folder with new name.