Show / Hide Table of Contents

Property HSContentType.Encoding


Overload

Gets text encoding.

public Encoding Encoding { get; }
Property Value
Encoding

Returns:

  • null if multipart content (Boundary not null).
  • UTF-8 if charset is utf-8 or not specified.
  • Encoding that matches charset.
  • ASCII if charset is invalid.