关于相关的图标,你可以使用:string filename = "path-to-file"; Icon icon = System.Drawing.Icon.ExtractAssociatedIcon(filename);