public static void SetCreationTime(string path, DateTime creationTime) { if (_provider == null) { Directory.SetCreationTime(path, creationTime); } else { _provider.SetCreationTime(path, creationTime); } }