UtilityGetNextString Method Ipswitch.Messaging.Framework
Pulls the next string up to the \r\n from the MemoryStream provided. The out strString will NOT include the \r\n, but the out aBytes will.

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public static long GetNextString(
	ref MemoryStream msData,
	out string strString,
	out byte[] aBytes,
	bool isWhiteListed
)

Parameters

msData
Type: System.IOMemoryStream

[Missing <param name="msData"/> documentation for "M:IMailAPI_NET.Utility.GetNextString(System.IO.MemoryStream@,System.String@,System.Byte[]@,System.Boolean)"]

strString
Type: SystemString

[Missing <param name="strString"/> documentation for "M:IMailAPI_NET.Utility.GetNextString(System.IO.MemoryStream@,System.String@,System.Byte[]@,System.Boolean)"]

aBytes
Type: SystemByte

[Missing <param name="aBytes"/> documentation for "M:IMailAPI_NET.Utility.GetNextString(System.IO.MemoryStream@,System.String@,System.Byte[]@,System.Boolean)"]

isWhiteListed
Type: SystemBoolean

[Missing <param name="isWhiteListed"/> documentation for "M:IMailAPI_NET.Utility.GetNextString(System.IO.MemoryStream@,System.String@,System.Byte[]@,System.Boolean)"]

Return Value

Type: Int64
Returns the number of bytes including the \r\n
See Also

Reference