Click or drag to resize
ChatProtectionHelperCheckOperationForFlooding 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: 12.0.0
Syntax
C#
public static bool CheckOperationForFlooding(
	FloodOperationEnum operation
)

Parameters

operation
Type: CMS.ChatFloodOperationEnum
Type of operation

Return Value

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