SmartCode ViewerX

IScVxUltraSecurity_MSRC4::KeyFilePath Property


Gets or sets file path to UltraVNC MSRC4 DSM plug-in encryption key.

Syntax

HRESULT IScVxUltraSecurity_MSRC4::get_KeyFilePath(BSTR* pstrKeyPath);
HRESULT IScVxUltraSecurity_MSRC4::put_KeyFilePath(BSTR strKeyPath);

Parameters

pstrKeyPath
Pointer to a variable of type BSTR that receives path to the encryption key.
strKeyPath
BSTR that holds absolute path to encryption key file. The path can be an absolute path or a relative one.

Remarks

In order for ViewerX to read RC4 key from an external file, you must set IScVxUltraSecurity_MSRC4::KeyStorage property value to DKS_FILE.

Return Value

Returns S_OK if successful, or an error value otherwise.