开发者

how to find a mov (quick time format) file a video or not using asp.net(c#)?

开发者 https://www.devze.com 2023-01-26 01:41 出处:网络
I want to find whether an uploaded mov file is a video or not through asp.net(c#) code. This is to prevent uploads after changing the extension to .mov.

I want to find whether an uploaded mov file is a video or not through asp.net(c#) code. This is to prevent uploads after changing the extension to .mov.

Any one please help me out to solve the above issue...开发者_如何学Python


Read the first few bytes and compare them to what you know a .mov file's header is.

Source: http://forums.asp.net/t/1331793.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消