SmartFoxServer Unity/.NET API
IsPrivate Method
NamespacesSmartFoxClientAPI.DataRoomIsPrivate()()()
A boolean flag indicating if the room is private (password protected).
Declaration Syntax
C#Visual BasicVisual C++
public bool IsPrivate()
Public Function IsPrivate As Boolean
public:
bool IsPrivate()
Return Value
true if the room is private
Remarks
Version:
SmartFoxServer Basic / Pro
Examples
CopyC#
if (room.IsPrivate())
    Trace.WriteLine("Password required for this room");

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