Jaa


xSession.clientComputerName Method

Definition

Retrieves the network name of the client computer that is responsible for servicing the session.

public:
 virtual System::String ^ clientComputerName();
public virtual string clientComputerName ();
abstract member clientComputerName : unit -> string
override this.clientComputerName : unit -> string
Public Overridable Function clientComputerName () As String

Returns

A string that indicates the name of the client computer.

Remarks

The following example prints the name of the client that is running the current session.

{ 
    xSession xSession; 
    xSession = new xSession(); 
    print xSession.clientComputerName(); 
    pause; 
}

Applies to