Skip to main content
Table of Contents

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

FMX.TMSFNCURLBitmapContainer.hppPascalC++
function Download(URL: string): TMemoryStream;
System::Classes::TMemoryStream* __fastcall Download(System::UnicodeString URL);

Parameters

Name Description
URL The URL to download.

Returns

New TMemoryStream containing the downloaded data; caller is responsible for freeing it.