 | WebHelperDownload Method |
Note: This API is now obsolete.
Downloads the data from the specified URI using a GET request.
Namespace: TomsToolbox.DesktopAssembly: TomsToolbox.Desktop (in TomsToolbox.Desktop.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax[ObsoleteAttribute("WebRequest is obsolete")]
public static MemoryStream Download(
Uri uri
)
<ObsoleteAttribute("WebRequest is obsolete")>
Public Shared Function Download (
uri As Uri
) As MemoryStream
Parameters
- uri Uri
- The URI.
Return Value
MemoryStreamA stream containing the downloaded data.
See Also