IsCorrupted Property
Whether the vault is corrupted.
Syntax
ANSI (Cross Platform) int GetIsCorrupted(); Unicode (Windows) BOOL GetIsCorrupted();
@property (nonatomic,readonly,assign,getter=isCorrupted) BOOL isCorrupted; - (BOOL)isCorrupted;
#define PID_CBVAULT_ISCORRUPTED 8 CBFSVAULT_EXTERNAL void* CBFSVAULT_CALL CBFSVault_CBVault_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
FALSE
Remarks
This property reflects whether the currently-open vault is corrupted, as indicated by the presence of the CBFSSTORAGE_ST_CORRUPTED flag in the VaultState property.
The CBFSSTORAGE_ST_CORRUPTED flag is set automatically anytime the class detects that a vault's integrity has been compromised. Calling the CheckAndRepair method for a corrupted vault will clear the flag.
This property is read-only and not available at design time.
Data Type
Boolean