SmartFoxServer Silverlight 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())
    Debug.WriteLine("Password required for this room");

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)