Mime-Detective-clarkis117
Mime-Detective-clarkis117 copied to clipboard
Mime type detector for files, byte arrays, and streams, .NET Standard Fork
Hi, I have tried to detect a 'pdf' file but I got 'txt' as a response ``` IFormFileCollection invoices foreach (var invoice in invoices) { using (var ms = invoice.OpenReadStream())...
The latest version really looks nice. I know that this is a personal project but do you have any idea of when you will reach 0.0.6 final? What remain to...
It appears that` public static FileType LearnMimeType(FileInfo first, FileInfo second, string mimeType, int maxHeaderSize = 12, int minMatches = 2, int maxNonMatch = 3) ` in [MimeDetective.cs](https://github.com/clarkis117/Mime-Detective/blob/master/src/Mime-Detective/MimeDetective.cs) is checking every...
mp4
I have used your tool very successfully, however, my code returns a null in the following when an mp4 is tested: (The filePath extension is mp4) NSUrl videoFileURL = NSUrl.FromString(filePath);...
Hi, Is csv supported? I've tried to detect a csv, but the file is detected as wav. Thanks,
Your current targets are: netstandard1.3;net45 Would it be possible to add also net471, netstandard2.0 ? I tried including your latest beta nuget into my net471 project and got some unexpected...
Calling `GetFileType(this byte[] bytes)` returns "plain/text" instead of "application/xml".
When loading a old Microsoft Office file into a stream or byte array, the GetFileType() resulting MimeType is doc,ppt,xls, not the expect xls or doc. For example. Both text fail....
Empty ZIP files are a special kind of ZIP. The header differs. File contents: `50 4b 05 06 00 00 00 00 00 00 00 00 00 00 00 00...