Same as
DownloadString(Uri) except it
correctly use the character set indicated in the response to decode
the string. Otherwise it uses
Encoding.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string DownloadStringUsingResponseEncoding(
this WebClient client,
Uri address
) |
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function DownloadStringUsingResponseEncoding (
client As WebClient,
address As Uri
) As String |
Visual C++ |
---|
public:
[ExtensionAttribute]
static String^ DownloadStringUsingResponseEncoding(
WebClient^ client,
Uri^ address
) |
F# |
---|
static member DownloadStringUsingResponseEncoding :
client : WebClient *
address : Uri -> string
|
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
WebClient. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also