Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IPlatformFile
Description
Determine if the file has been downloaded from a web browser, based on platform-specific metadata.
Only works for files on disk and currently only implemented for Windows.
| Name | HasMarkOfTheWeb |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
virtual bool HasMarkOfTheWeb
(
FStringView Filename,
FString * OutSourceURL
)
true if the file has a mark of the web, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Filename | The file to check if it has a mark of the web. |
| OutSourceURL | An optional pointer to return a source url if available. |