TTMSFNCURLBitmapContainer.Download Method
Synchronously downloads the content of the given URL and returns it as a memory stream; the caller owns the stream.
API unit family: TMSFNCURLBitmapContainer
Declaring type: TTMSFNCURLBitmapContainer
Syntax
function Download(URL: string): TMemoryStream;
Parameters
| Name | Description |
|---|---|
URL |
The URL to download. |
Returns
New TMemoryStream containing the downloaded data; caller is responsible for freeing it.