2009年1月11日

C# 检测真实的文件类型函数

摘要: privateboolIsAllowedExtension(HttpPostedFilehifile){boolret=false;System.IO.FileStreamfs=newSystem.IO.FileStream(hifile.FileName,System.IO.FileMode.Open,System.IO.FileAccess.Read);System.IO.BinaryRead... 阅读全文

posted @ 2009-01-11 19:36 sandou 阅读(218) 评论(0) 推荐(0) 编辑

导航