Directory.Exists

public static bool Exists(string path);

Parameters

pathThe path to test.

Description

Determines whether the given path refers to an existing directory.

Did you find this page useful? Please give it a rating: