SmartCode ViewerX

IScVxUltraSecurity_MSRC4::KeyStorage Property


Specifies which key storage ViewerX must use to read RC4 key data.

Syntax

HRESULT IScVxUltraSecurity_MSRC4::get_KeyStorage(DsmKeyStorage* pnStorage);
HRESULT IScVxUltraSecurity_MSRC4::put_KeyStorage(DsmKeyStorage nStorage);

Parameters

pnStorage
Pointer to a variable of type DsmKeyStorage that receives a key storage used to store RC4 key.
nStorage
DsmKeyStorage that specifies key storage used to store RC4 key.

Remarks

Default value: DKS_FILE

You can use one of the following properties to pass RC4 key to ViewerX: KeyFilePath, KeyData, or KeyDataAsHexStr.

Return Value

Returns S_OK if successful, or an error value otherwise.