Rename a file

Namespace: LLCryptoLib.Utils
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public bool RenameFile(
	string pathSource,
	string newname
)
Visual Basic
Public Function RenameFile ( _
	pathSource As String, _
	newname As String _
) As Boolean
Visual C++
public:
bool RenameFile(
	String^ pathSource, 
	String^ newname
)

Parameters

pathSource
Type: System..::..String
Complete path of the file to be renamed
newname
Type: System..::..String
New name of the file - without path

Return Value

True if operation was successful

See Also