XssDetectedException
Members
Namespace: ASPSecurityKit.Xss
Assembly: ASPSecurityKit.dll
Summary
Represents an exception that can be thrown during XSS validation when XSS characters are found.
Constructors
#ctor(propertyName,propertyValue,startIndex)
Summary
Initializes a new instance of the XssDetectedException class.
Parameters
Name | Type | Description |
---|---|---|
propertyName | System.String | Name of the property. |
propertyValue | System.String | Value of the property. |
startIndex | System.Int32 | Index at which the XSS characters were found in the value. |
Properties
PropertyName
Summary
Gets the property name which has been found having XSS characters in its value.
Value
The property name which has been found having XSS characters in its value.
PropertyValue
Summary
Gets the property value which has been found having XSS characters.
Value
The property value which has been found having XSS characters.
StartIndex
Summary
Gets the index at which XSS characters were found in PropertyValue.
Value
The index at which XSS characters were found in PropertyValue.