Click or drag to resize
CheckParametersCheckPath Method (String, Boolean)
Checks the current request for allowed parameters.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 9.0.0
Syntax
C#
public static bool CheckPath(
	string path,
	bool redirect
)

Parameters

path
Type: SystemString
Path to check
redirect
Type: SystemBoolean
If true, when parameters do not match, the request is redirected either to 404 or throws an exception (depending on current settings)

Return Value

Type: Boolean
See Also