Downloads data from provided URI.
Namespace:
Rebex.Net
Assembly:
Rebex.Http (in Rebex.Http.dll)
Syntax
Visual Basic |
---|
Public Function DownloadData ( _ uri As Uri _ ) As Byte() |
C# |
---|
public byte[] DownloadData( Uri uri ) |
Parameters
- uri
- Type: System..::..Uri
URI to retrieve data from.
Return Value
Byte array that contains data retrieved from provided URI.Remarks
HTTP method GET is used to retrieve the data.