Click or drag to resize
ChatProtectionHelper.CheckOperationForFloodingInternal Method
Checks if specified operation happened too early after the previous call. If it happened too early (earlier than timespan specified in settings), it is considered as flooding and operation should be stopped.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 11.0.0
Syntax
C#
protected virtual bool CheckOperationForFloodingInternal(
	FloodOperationEnum operation
)

Parameters

operation
Type: CMS.Chat.FloodOperationEnum
Type of operation

Return Value

Type: Boolean
True if everything is ok. False if operation should be stopped.
See Also