Gets charset from Content-Type. If char set isn't specified, "ascii" is defined as default and it will be returned.
| C# | Visual Basic | Visual C++ | F# |
public Encoding GetCharset()
Public Function GetCharset As Encoding
public: Encoding^ GetCharset()
member GetCharset : unit -> Encoding
Encoding
Returns content charset.
Returns content charset.
| Exception | Condition |
|---|---|
| ArgumentException | Is raised when Content-Type has not supported charset parameter value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119