Click or drag to resize

ChangeRoomPasswordStateRequest Constructor

Creates a new ChangeRoomPasswordStateRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public ChangeRoomPasswordStateRequest(
	Room room,
	string newPass
)

Parameters

room
Type: Sfs2X.EntitiesRoom
The object corresponding to the Room whose password should be changed.
newPass
Type: SystemString
The new password to be assigned to the Room; an empty string or a null value can be passed to remove the Room's password.
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also