LumiSoft Net Help
ImapStringToByte Method (charset, utf8StringSupported, value)
NamespacesLumiSoft.Net.IMAPIMAP_UtilsImapStringToByte(Encoding, Boolean, String)
Converts IMAP string to byte[].
Declaration Syntax
C#Visual BasicVisual C++F#
public static byte[] ImapStringToByte(
	Encoding charset,
	bool utf8StringSupported,
	string value
)
Public Shared Function ImapStringToByte ( 
	charset As Encoding,
	utf8StringSupported As Boolean,
	value As String
) As Byte()
public:
static array<unsigned char>^ ImapStringToByte(
	Encoding^ charset, 
	bool utf8StringSupported, 
	String^ value
)
static member ImapStringToByte : 
        charset : Encoding * 
        utf8StringSupported : bool * 
        value : string -> byte[] 
Parameters
charset (Encoding)
Charset to use for string encodings.
utf8StringSupported (Boolean)
Specifies if RFC 5738 IMAP UTF-8 string is supported.
value (String)
String value.
Return Value
array<Byte>[]()[][]
Returns IMAP string as byte[].
Exceptions
ExceptionCondition
ArgumentNullExceptionIs raised when charset is null reference.

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