How to validate that the header application/x-zip-compressed is a zip archive in C#?

前端 未结 0 914
Happy的楠姐
Happy的楠姐 2020-12-07 23:34

I am trying to implement a IsValidMime method to check that the magic header of a .zip file is actually a zip file.

I\'ve looked everywhere for the header magic value

相关标签:
回答
  • 消灭零回复
提交回复
热议问题