Entity.IsMimeType Method 

Determines if the MIME type of this Entity matches the given one. MIME types are case-insensitive.

public bool IsMimeType(
   string type
);

Parameters

type
the MIME type to match against.

Return Value

true on match, false otherwise.

See Also

Entity Class | NI.Email.Mime.Message Namespace