Constructor for MMS attachment given as array of bytes with apropriate MIME Content-Type. Also allows specifying Content-ID and Content-Location MIME headers.

Namespace: hr.tis.mgw.client.message
Assembly:   mgw2-client-1.0.6 (in mgw2-client-1.0.6)
Version: 2.1.0.6

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	bytes As Byte(), _
	contentType As String, _
	contentId As String, _
	contentLocation As String _
)
C#
public Attachment (
	byte[] bytes,
	string contentType,
	string contentId,
	string contentLocation
)
Visual C++
public:
Attachment (
	array<unsigned char>^ bytes, 
	String^ contentType, 
	String^ contentId, 
	String^ contentLocation
)

Parameters

bytes
System.Byte[]
content
contentType
System.String
Content-Type MIME header value
contentId
System.String
Content-ID MIME header value
contentLocation
System.String
Content-Location MIME header value