MapiMessage.IsMsgFormat

IsMsgFormat(string)

Determines whether a file is in MSG format.

public static bool IsMsgFormat(string fileName)
ParameterTypeDescription
fileNameStringThe path of the file.

Return Value

true if the file is in MSG format; otherwise, false.

See Also


IsMsgFormat(Stream)

Determines whether a stream contains a message in MSG format.

public static bool IsMsgFormat(Stream stream)
ParameterTypeDescription
streamStreamThe stream to check.

Return Value

true if the stream is in MSG format; otherwise, false.

See Also