ISInterface:GetSessionName
Jump to navigation
Jump to search
Syntax
- bool GetSessionName(unsigned long nSession, char *buf, int buflen)
Purpose
To obtain the name of a given session
Usage
Parameters
- unsigned long nSession
- [in] Number of the session to get the name for
- char *buf
- [out] Buffer to put the name of the session in
- int buflen
- [in] Length of the buffer
Return Value
- bool
- Returns true on success, false on failure
Examples
char SessionName[512]; pISInterface->GetSessionName(1,SessionName,sizeof(SessionName));