LumiSoft Net Help
CreateEntity_Attachment Method (attachmentName, stream)
NamespacesLumiSoft.Net.MIMEMIME_EntityCreateEntity_Attachment(String, Stream)
Creates attachment(application/octet-stream) entity.
Declaration Syntax
C#Visual BasicVisual C++F#
public static MIME_Entity CreateEntity_Attachment(
	string attachmentName,
	Stream stream
)
Public Shared Function CreateEntity_Attachment ( 
	attachmentName As String,
	stream As Stream
) As MIME_Entity
public:
static MIME_Entity^ CreateEntity_Attachment(
	String^ attachmentName, 
	Stream^ stream
)
static member CreateEntity_Attachment : 
        attachmentName : string * 
        stream : Stream -> MIME_Entity 
Parameters
attachmentName (String)
Attachment file name what appears in mail message.
stream (Stream)
Attachment data stream. Data is read from stream current position.
Return Value
MIME_Entity
Returns created entity.
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when attachmentName or stream is null reference.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119