Click or drag to resize

Utils_FileCopyDirectoryContent Method (String, String)

Copies the content of a directory to another.

This is done recursively but the code is not recurcive.

All directories are ensured first, then all files are copied.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static void CopyDirectoryContent(
	string sourcePath,
	string destinationPath
)

Parameters

sourcePath
Type: SystemString
Folder where the content to copy is located.
destinationPath
Type: SystemString
Folder where the content must be copied. If this folder does not exist, it will be created.
See Also