FSHA1::GetFileSHAHash

Gets the stored SHA hash from the platform, if it exists.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/SecureHash.h

Include

#include "Misc/SecureHash.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/SecureHash.cpp

Syntax

static bool GetFileSHAHash
(
    const TCHAR * Pathname,
    uint8 Hash,
    bool bIsFullPackageHash
)

Remarks

Gets the stored SHA hash from the platform, if it exists. This function must be able to be called from any thread.

Returns

true if the hash was found, false otherwise

Parameters

Parameter

Description

Pathname

Pathname to the file to get the SHA for

Hash

20 byte array that receives the hash

bIsFullPackageHash

true if we are looking for a full package hash, instead of a script code only hash

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss