Click or drag to resize

FileSystemEmptyDir Method

Makes sure, the given path references an empty directory. If the directory does not exist, it is created, including missing parent folders. If the directory exists, all content is recursively deleted.

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public static string EmptyDir(
	string path
)

Parameters

path
Type: SystemString
An path to the directory.

Return Value

Type: String
A path to the directory.
See Also