Gets charset from Content-Type. If char set isn't specified, "ascii" is defined as default and it will be returned.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public Encoding GetCharset()
Public Function GetCharset As Encoding
public: Encoding^ GetCharset()
member GetCharset : unit -> Encoding
Return Value
Encoding
Returns content charset.
Returns content charset.
Exceptions
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