SmartCode ViewerX

IScVxUltraSecurity_SecureVNC::PrivateKeyFilePath Property


Gets or sets file path to UltraVNC SecureVNC DSM plug-in encryption key (Viewer_ClientAuth.pkey).

Syntax

HRESULT IScVxUltraSecurity_SecureVNC::get_PrivateKeyFilePath(BSTR* pstrKeyPath);
HRESULT IScVxUltraSecurity_SecureVNC::put_PrivateKeyFilePath(BSTR strKeyPath);

Parameters

pstrKeyPath
Pointer to a variable of type BSTR that receives path to the client authentication key.
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 an external file, you must set IScVxUltraSecurity_SecureVNC::KeyStorage property value to DKS_FILE.

Return Value

Returns S_OK if successful, or an error value otherwise.