Mono Class Library: System.Web.HttpRequest Overview | Members

System.Web.HttpRequest.ValidateInput Method

Request that potentially unsafe data sent by a user is validated.

public void ValidateInput ()

Remarks

This method is typically invoked by the various http modules loaded in your application to request that cookies, the query string or the input data does not contain information that could be used to inject malicious code into later renderings of data onto the page.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0