FesfUtil2IsFileFesfEncrypted Function

Check to see if a file is in FESF Encrypted format.

Syntax (C++)

bool

FesfUtil2IsFileFesfEncrypted(std::wstring_view FileToCheck);

Syntax (C)

DWORD

FesfUtil2IsFileFesfEncrypted_C(

      [in] LPCWSTR FileToCheck,

      [out] BOOL*  FileIsEncrypted);

Parameters

FileToCheck

Fully qualified path name for the file.

Return value

Returns 'true' if the file is FESF encrypted, 'false' otherwise.

Throws

Throws an FEU2Exception if an error is encountered.

Remarks

No special privileges are required, though the caller must have read access to the file being queried.

Replaces

IFesfDs:: IsFileEncrypted and IFesfUtil::IsFileEncrypted