public static FileAttributes GetAttributes(string path) => FileSystem.GetAttributes(Path.GetFullPath(path));
public static FileAttributes GetAttributes(string path) { string fullPath = Path.GetFullPath(path); return(FileSystem.GetAttributes(fullPath)); }