Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IPlatformFile
Description
Attempt to change the platform-specific metadata that indicates if the file has been downloaded from a web browser.
Only works for files on disk and currently only implemented for Windows.
| Name | SetMarkOfTheWeb |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
virtual bool SetMarkOfTheWeb
(
FStringView Filename,
bool bNewStatus,
const FString * InSourceURL
)
true if the file's mark of the web status was successful changed, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Filename | The file to change it's mark of the web status. |
| bNewStatus | New mark of the web status for the file. |
| InSourceURL | An optional pointer to a source url that will be applied if new status true. |