MultipartBuilder CreateMultipartContent Method CTCT Wrapper Documented Class Library
Create multipart content in binary format

Namespace: CTCT.Util
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public static byte[] CreateMultipartContent(
	string fileName,
	byte[] fileContent,
	IList<string> lists = null,
	string fileType = null,
	string folderId = null,
	string description = null,
	string source = null
)

Parameters

fileName
Type: System String
The name of the file
fileContent
Type:  System Byte 
The content of the file
lists (Optional)
Type: System.Collections.Generic IList String 
List of contact list Ids to add/remove contacts to
fileType (Optional)
Type: System String
The type of the file
folderId (Optional)
Type: System String
The id of the folder
description (Optional)
Type: System String
The file description
source (Optional)
Type: System String
The file source

Return Value

Returns a byte array used for request
See Also