简体   繁体   English

确定文件vb.net的真实类型

[英]Determine the real type of file vb.net

I have a asp.net vb.net app, with a upload file control, when i upload the file i can get the type of file the extension : .(extension), But if the user change the extension how i can get the real type of file? 我有一个带有上载文件控件的asp.net vb.net应用程序,当我上载文件时,我可以得到扩展名:。(extension)的文件类型,但是如果用户更改扩展名,我将如何获得真实的文件类型?

Any ideas?? 有任何想法吗??

您应该分析上传数据的标题内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM