public Texture2D GetFolderIcon(string folderPath, bool small = true) { var folder = GetFolderByPath(folderPath); if (folder == null) return null; return small ? folder.SmallIcon : folder.LargeIcon; }