ISmartCodeVNCViewer::Port Property
Gets or sets the port to use when connecting to VNC server.
Syntax
HRESULT ISmartCodeVNCViewer::get_Port(long* pnPort); HRESULT ISmartCodeVNCViewer::put_Port(long nPort);
Parameters
- pnPort
- Pointer to a variable of type long that receives the port of target VNC server.
- nPort
- long that specifies the port of VNC server.
Return Value
Returns S_OK if successful, or an error value otherwise.