ImapUtilsFromUtf7String Method |
Converts the specified string from the IMAP4 UTF-7 Modified encoding into human-readable form.
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static string FromUtf7String(
string s
)
Public Shared Function FromUtf7String (
s As String
) As String
Parameters
- s
- Type: SystemString
The string (usually, a folder name) to be converted from the IMAP4 UTF-7 Modified string.
Return Value
Type:
StringThe decoded human-readable string, or a null reference (
Nothing in Visual Basic) if
s is a null reference.
Remarks
This method can be used to decode UTF-7 Mofified folder names into real values.
Note |
---|
All Imap methods which deal with folder names
apply UTF-7M automatically and produce Folder objects which already have their Name and ShortName values
properly decoded (although RawName is also available). There is no need to use FromUtf7String(String) method in this case.
The same is true for folder names in other objects (such as FolderStatus). |
See Also