Share via


xSession.clientComputerName Method

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

Syntax

public str clientComputerName()

Run On

Called

Return Value

Type: str
A string that indicates the name of the client computer.

Examples

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

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

See Also

xSession Class

xSession.AOSName Method

xSession.clientKind Method