BasicHtmlWebResponseObject.Encoding Property

Definition

Gets the encoding of the text body content of this response.

public System.Text.Encoding Encoding { get; }
[System.Runtime.CompilerServices.Nullable(2)]
[set: System.Runtime.CompilerServices.NullableContext(2)]
public System.Text.Encoding? Encoding { [System.Runtime.CompilerServices.NullableContext(2)] get; }
member this.Encoding : System.Text.Encoding
[<System.Runtime.CompilerServices.Nullable(2)>]
[<get: System.Runtime.CompilerServices.NullableContext(2)>]
[<set: System.Runtime.CompilerServices.NullableContext(2)>]
member this.Encoding : System.Text.Encoding
Public ReadOnly Property Encoding As Encoding

Property Value

Encoding of the response body from the Content-Type header, or null if the encoding could not be determined.

Attributes

Applies to