|Manuals

THTMLDoc.GetSafeURL Method

Description

Returns a safe, temporary, and unique URL to access any local file.

Syntax

function GetSafeURL(const Filename: WideString; Minutes: Integer): WideString; safecall;

Parameters

Parameter Type Description
Filename WideString The path to a local file
Minutes Integer Duration in minutes before the URL expires

Return Value

WideString - The generated safe URL