MailBee.NET Objects 4.0

Global.DefaultEncoding Property

Gets or sets the default Encoding to be used for byte-to-string and string-to-byte conversions when no encoding is specified.

public static System.Text.Encoding DefaultEncoding {get; set;}

Property Value

A reference to the Encoding object to be used for byte-to-string and string-to-byte conversions when no encoding is specified. The default value is Default.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is a null reference (Nothing in Visual Basic).

See Also

Global Class | MailBee Namespace