Apachai.Apachai.CheckImageType C# (CSharp) Метод

CheckImageType() статический приватный Метод

static private CheckImageType ( Stream file ) : bool
file Stream
Результат bool
        static bool CheckImageType(Stream file)
        {
            // For now only check some magic header value (not that we can do much else)
            return 0xD8FF == new BinaryReader (file).ReadUInt16 ();
        }