SmartCode ViewerX

ISmartCodeVNCViewer::Password Property


Gets or sets the password to use when authenticating the client against VNC server.

Syntax

HRESULT ISmartCodeVNCViewer::get_Password(BSTR* pstrPassword);
HRESULT ISmartCodeVNCViewer::put_Password(BSTR strPassword);

Parameters

pstrPassword
Pointer to a variable of type BSTR that receives the password.
strPassword
BSTR that specifies the password to use when authenticating the client.

Return Value

Returns S_OK if successful, or an error value otherwise.