SmartCode ViewerX

IScVxUltraSecurity_MSRC4::KeyData Property


Sets UltraVNC MSRC4 DSM plug-in RC4 encryption key by passing a SAFEARRAY of bytes.

Syntax

HRESULT IScVxUltraSecurity_MSRC4::put_KeyData(VARIANT arrDsmKeyData);

Parameters

arrDsmKeyData
VARIANT that holds SAFEARRAY of bytes with RC4 key file content.

Remarks

In order for ViewerX to read RC4 key from a memory buffer, you must set IScVxUltraSecurity_MSRC4::KeyStorage property value to DKS_MEMORY.

Return Value

Returns S_OK if successful, or an error value otherwise.