DotNetOpenMail 0.5.7 (beta)

FileAttachment Constructor (Byte[])

Create a new binary file attachment from an array of bytes.

[Visual Basic]
Public Sub New( _ 
   ByVal bytes As Byte() _ 
)
[C#]
public FileAttachment(
   byte[] bytes
);
[C++]
public: FileAttachment(
   char bytes __gc[]
);
[JScript]
public function FileAttachment(
   Byte[] bytes
);

Parameters

bytes
An array of bytes

See Also

FileAttachment Class | DotNetOpenMail Namespace | FileAttachment Constructor Overload List