SmartCode ViewerX

IScVxUltraSecurity_SecureVNC::PrivateKeyData Property


Sets UltraVNC SecureVNC DSM plug-in client authentication key by passing a SAFEARRAY of bytes.

Syntax

HRESULT IScVxUltraSecurity_SecureVNC::put_PrivateKeyData(VARIANT arrDsmKeyData);

Parameters

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

Remarks

In order for ViewerX to read SecureVNC client authentication key from a memory buffer, you must set IScVxUltraSecurity_SecureVNC::KeyStorage property value to DKS_MEMORY.

Return Value

Returns S_OK if successful, or an error value otherwise.