.net Response.ContentType获取返回类型及数据对应的详细列表

本文列举了.NET中Response.ContentType所涵盖的各种数据类型及其对应的MIME类型,包括application/msword、application/pdf、audio/mpeg等,并提供了一个从资源文件获取并显示图片的代码示例。
摘要由CSDN通过智能技术生成
'ez' => 'application/andrew-inset',  
'hqx' => 'application/mac-binhex40',  
'cpt' => 'application/mac-compactpro',  
'doc' => 'application/msword',  
'bin' => 'application/octet-stream',  
'dms' => 'application/octet-stream',  
'lha' => 'application/octet-stream',  
'lzh' => 'application/octet-stream',  
'exe' => 'application/octet-stream',  
'class' => 'application/octet-stream',  
'so' => 'application/octet-stream',  
'dll' => 'application/octet-stream',  
'oda' => 'application/oda',  
'pdf' => 'application/pdf',  
'ai' => 'application/postscript',  
'eps' => 'application/postscript',  
'ps' => 'application/postscript',  
'smi' => 'application/smil',  
'smil' => 'application/smil',  
'mif' => 'application/vnd.mif',  
'xls' => 'application/vnd.ms-excel',  
'ppt' => 'application/vnd.ms-powerpoint',  
'wbxml' => 'application/vnd.wap.wbxml',  
'wmlc' => 'application/vnd.wap.wmlc',  
'wmlsc' => 'application/vnd.wap.wmlscriptc',  
'bcpio' => 'application/x-bcpio',  
'vcd' => 'application/x-cdlink',  
'pgn' => 'application
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值