FAsyncSHAVerify

Asynchronous SHA verification

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Misc/SecureHash.h"

Syntax

class FAsyncSHAVerify

Remarks

Asynchronous SHA verification

Variables

Name Description

Protected variable

bool

 

bIsUnfoundHashAnError

If this is true, and looking up the hash by filename fails, this will abort execution

Protected variable

bool

 

bShouldDeleteBuffer

Should this class delete the buffer memory when verification is complete?

Protected variable

void *

 

Buffer

Buffer to run the has on.

Protected variable

uint64

 

BufferSize

Size of Buffer

Protected variable

uint8[20]

 

Hash

Hash to compare against

Protected variable

FString

 

Pathname

Filename to lookup hash value (can be empty if hash was passed to constructor)

Constructors

Name Description

Public function

FAsyncSHAVerify

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

Constructor.

Functions

Name Description

Public function

void

 

Abandon()

Abandon task, deletes the buffer if that is what was requested

Public function

bool

 

CanAbandon()

Task API, return true to indicate that we can abandon

Public function

void

 

DoWork()

Performs the async hash verification

Public function Const

TStatId

 

GetStatId()

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