Table of Contents

Method CopyDirectory

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

CopyDirectory(string, string)

Copies source directory with entire content including sub-directories to the specified destination.

public static void CopyDirectory(string sourceDirectoryPath, string targetDirectoryPath)

Parameters

sourceDirectoryPath string

Source directory path.

targetDirectoryPath string

Destination directory path.

Exceptions

ArgumentException

Throws an ArgumentException if the source directory does not exist.