FAsyncSHAVerify::FAsyncSHAVerify

Constructor.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/SecureHash.h"

Syntax

FAsyncSHAVerify
(
    void * InBuffer,
    uint64 InBufferSize,
    bool bInShouldDeleteBuffer,
    const TCHAR * InPathname,
    bool bInIsUnfoundHashAnError
)

Remarks

Constructor.

If you pass ownership to the task MAKE SURE you are done using the buffer as it could go away at ANY TIME

Parameters

Parameter

Description

InBuffer

Buffer of data to calculate has on. MUST be valid until this task completes (use Counter or pass ownership via bInShouldDeleteBuffer)

InBufferSize

Size of InBuffer

bInShouldDeleteBuffer

true if this task should FMemory::Free InBuffer on completion of the verification. Useful for a fire & forget verification

Pathname

Pathname to use to have the platform lookup the hash value

bInIsUnfoundHashAnError

true if failing to lookup the hash value results in a fail (only for Shipping PC)

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