如何获取现有文件的ContentType属性_百度知道
如何获取现有文件的ContentType属性public static string GetFileContentType(string filename) { string[] array = filename.Split('.'); string result...
获取文件的ContentType - 沃叶徐 - 博客园
2010年12月7日 - 获取文件的ContentType 1 public static string GetFileContentType(string filename) 2 { 3 string[] array = filename.Split('." + array[array.Len...
HTTP Content-type 对照表
文件扩展名Content-Type(Mime-Type)文件扩展名Content-Type(Mime-Type) .*( 二进制流,不知道下载文件类型) application/octet-stream .tif image/tiff .001 ...