Пример #1
0
    public void GetMimeFromFileTest()
    {
        var f = @"D:\_Test\sunamo\win\Helpers\MImeHelper\GetMimeFromFile\Real";

        //application/octet-stream>
        Assert.AreEqual(string.Empty, MimeHelper.GetMimeFromFile(f + AllExtensions.webp));
        //
        Assert.AreEqual(string.Empty, MimeHelper.GetMimeFromFile(f + AllExtensions.jpg));
    }