private static GetUniqueFolderPath ( string folderPath ) : string | ||
folderPath | string | |
return | string |
private static string GetUniqueFolderPath(string folderPath)
{
var parent = Directory.GetParent(folderPath).FullName;
var name = GetUniqueFolderName(parent, Path.GetFileName(folderPath));
return Path.Combine(parent, name);
}