public static string GetLowerCaseFullPath(this string path) { var fullPath = Path.GetFullPath(path); return string.IsNullOrWhiteSpace(fullPath) ? string.Empty : fullPath.ToLowerInvariant(); } }