UtilWebDownloadData(String, WebProxy) Method
Downloads the specified resource as a Byte array
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static byte[] DownloadData(
string url,
WebProxy proxy
)
Public Shared Function DownloadData (
url As String,
proxy As WebProxy
) As Byte()
Dim url As String
Dim proxy As WebProxy
Dim returnValue As Byte()
returnValue = UtilWeb.DownloadData(url,
proxy)
public:
static array<unsigned char>^ DownloadData(
String^ url,
WebProxy^ proxy
)
static member DownloadData :
url : string *
proxy : WebProxy -> byte[]
No code example is currently available or this language may not be supported.
- url String
-
The url to download.
- proxy WebProxy
-
The proxy to use.
Byte
The resource data.
This is a code example.
No code example is currently available or this language may not be supported.
Dim proxy As New WebProxy(Host:="myproxy address", Port:=800)
proxy.Credentials = New NetworkCredential("user", "pass")
Dim data As Byte() = DownloadData("http://download.thinkbroadband.com/5MB.zip", proxy)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.