Table of Contents

Method CanRead

Namespace
DocWright.Formats.Doc
Assembly
DocWright.Formats.Doc.dll

CanRead(Stream)

Determines whether the stream appears to contain this reader's format by sniffing its leading bytes. The stream must be seekable; implementations must restore Position before returning.

public bool CanRead(Stream stream)

Parameters

stream Stream

The seekable stream to sniff.

Returns

bool

true if the stream looks like this format.