SmartCode ViewerX

IScVxUltraSecurity_SecureVNC::PrivateKeyDataAsHexStr Property


Sets SecureVNC client key in form of HEX string. Each byte must be represented by two hexadecimal characters. If the byte value can be represented by a single hex character it must be padded with zero value. For example, 0F

Syntax

HRESULT IScVxUltraSecurity_SecureVNC::put_PrivateKeyDataAsHexStr(BSTR strDsmKeyData);

Parameters

strKeyPath
BSTR that holds absolute path to client authentication key file. The path can be an absolute path or a relative one.

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.otherwise.