Creates a new ChangeRoomPasswordStateRequest instance.

Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public ChangeRoomPasswordStateRequest(
	Room room,
	string newPass
)

Parameters

room
Type: Sfs2X.Entities..::..Room
The object corresponding to the Room whose password should be changed.
newPass
Type: System..::..String
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