文件名称:DetailFileInfo
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 34kb
- 下载次数:
- 0次
- 提 供 者:
- zhangch*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
如何用C#获得文件信息以及扩展信息
在C#中获得文件信息很容易,只需要用FileInfo类或者FileVersionInfo类就可以获得,但是如果想要获得文件的扩展信息,则无法从这两类来获得。不过在C#中,这也不是件难事,只要引入“Microsoft Shell Controls and Automation”这个COM就可以获得。-How to use C# to obtain file information, as well as the expansion of information obtained in the C# file information very easy, just use FileInfo class or category FileVersionInfo can get, but if you want to document the expansion of access to information, it can not be obtained from the two categories. However, in C#, this is not difficult, as long as the introduction of " Microsoft Shell Controls and Automation" of the COM can be obtained.
在C#中获得文件信息很容易,只需要用FileInfo类或者FileVersionInfo类就可以获得,但是如果想要获得文件的扩展信息,则无法从这两类来获得。不过在C#中,这也不是件难事,只要引入“Microsoft Shell Controls and Automation”这个COM就可以获得。-How to use C# to obtain file information, as well as the expansion of information obtained in the C# file information very easy, just use FileInfo class or category FileVersionInfo can get, but if you want to document the expansion of access to information, it can not be obtained from the two categories. However, in C#, this is not difficult, as long as the introduction of " Microsoft Shell Controls and Automation" of the COM can be obtained.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AssemblyInfo.cs
bin
...\Debug
...\.....\DetailFileInfo.exe
...\.....\Interop.Shell32.dll
CFileInfo.cs
DetailFileInfo.csproj
DetailFileInfo.csproj.user
DetailFileInfo.sln
frmMain.cs
frmMain.resx
obj
...\Debug
...\.....\temp
...\.....\TempPE
bin
...\Debug
...\.....\DetailFileInfo.exe
...\.....\Interop.Shell32.dll
CFileInfo.cs
DetailFileInfo.csproj
DetailFileInfo.csproj.user
DetailFileInfo.sln
frmMain.cs
frmMain.resx
obj
...\Debug
...\.....\temp
...\.....\TempPE