SmartFoxServer Unity/.NET API
IsOnline Method
NamespacesSmartFoxClientAPI.DataBuddyIsOnline()()()
A boolean flag indicating if the user is online
Declaration Syntax
C#Visual BasicVisual C++
public bool IsOnline()
Public Function IsOnline As Boolean
public:
bool IsOnline()
Return Value
true if the buddy is online
Remarks
Version:
SmartFoxServer Basic / Pro
Examples
CopyC#
if (buddy.IsOnline())
    Trace.WriteLine("Buddy is online");

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)