Changes the password of a Room at runtime.

Namespace: Sfs2X.Requests
Assembly: SmartFox2 (in SmartFox2.dll) Version: 0.9.14.0

Syntax

C#
public class ChangeRoomPasswordStateRequest : BaseRequest

Remarks

The request not only changes the password of a Room but also its "password state", which indicates if a Room is password protected or not.
This request might fail if the Room was configured to deny password runtime changes or if the User sending the request is not the owner of the Room.

Moderators and Administrator can override this last constraint.

Inheritance Hierarchy

System..::..Object
  Sfs2X.Requests..::..BaseRequest
    Sfs2X.Requests..::..ChangeRoomPasswordStateRequest

See Also