Method LooksLikeCompoundFile
LooksLikeCompoundFile(Stream)
Determines whether a stream begins with the compound-file signature, which is what an OLE payload part normally is.
public static bool LooksLikeCompoundFile(Stream stream)
Parameters
streamStreamThe seekable stream to sniff. Its position is restored.
Returns
Exceptions
- ArgumentNullException
streamis null.