EncodingFinder.AddMapping Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

EncodingFinder.AddMapping Method

Puts a mapping from characterSet to encoding into the EncodingFinder's internal mapping Dictionary.

public static void AddMapping(
   string characterSet,
   Encoding encoding
);

Parameters

characterSet
The string that maps to the encoding
encoding
The Encoding that should be mapped from characterSet

Exceptions

Exception Type Condition
ArgumentNullException If characterSet is a null reference
ArgumentNullException If encoding is a null reference

See Also

EncodingFinder Class | OpenPop.Mime.Decode Namespace