bool DeleteDirectory(string dirPath)

Deletes a directory, and all files in it. Trust Level Required: High

Parameters

Name Description
dirPath The path to the directory.

Return

True on success, and false if the directory did not exist.