• 最近在写一个C#的文件更名工具,在写文件浏览时,需要获得文件的图标和文件类型。.NET框架中并没有现成的方法,只好调用API函数。

    以下是调用API的类,取名为Win32

    using System;
    using System.Runtime.InteropServices;

    name...