SmartCode ViewerX

IScVxUltraSecurity_SecureVNC::KeyStorage Property


Specifies which key storage ViewerX must use to read SecureVNC client authentication key data.

Syntax

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

Parameters

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

Remarks

Default value: DKS_FILE

You can use one of the following properties to pass SecureVNC client authentication key to ViewerX: PrivateKeyFilePath, PrivateKeyData, or PrivateKeyDataAsHexStr.

Return Value

Returns S_OK if successful, or an error value otherwise.