HTMLDoc.GetSafeUrl Method (string, int)
Description
This method generates a secure, temporary, and unique URL to access any file on disk.
Syntax
public string GetSafeUrl(string filename, int minutes);
Parameters
| Parameter | Type | Description |
|---|---|---|
filename |
string | Name or path of the file to access |
minutes |
int | Duration in minutes of the temporary URL validity |
Return Value
Type: string
Returns a text string representing the generated secure and temporary URL.