set_Encoding()

WebClient::set_Encoding(const SharedPtr<Text::Encoding>&) method

Sets the encoding used to download or upload strings.

void System::Net::WebClient::set_Encoding(const SharedPtr<Text::Encoding> &encoding)

Arguments

ParameterTypeDescription
encodingconst SharedPtr<Text::Encoding>&The encoding to set.

See Also