Show / Hide Table of Contents

Class XXssProtectionHeaderValue

Represents value of X-XSS-Protection header.

Inheritance
System.Object
XXssProtectionHeaderValue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
public class XXssProtectionHeaderValue

Constructors

XXssProtectionHeaderValue()

Instantiates a new XXssProtectionHeaderValue with Sanitize filtering mode.

Declaration
public XXssProtectionHeaderValue()

XXssProtectionHeaderValue(XssFilteringModes)

Instantiates a new XXssProtectionHeaderValue.

Declaration
public XXssProtectionHeaderValue(XssFilteringModes filteringMode)
Parameters
Type Name Description
XssFilteringModes filteringMode

The filtering mode.

Properties

FilteringMode

Gets or sets the filtering mode.

Declaration
public XssFilteringModes FilteringMode { get; set; }
Property Value
Type Description
XssFilteringModes

Methods

ToString()

Gets the string representation of header value.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of header value.

Overrides
System.Object.ToString()
Back to top Copyright © 2016 - 2023 Tomasz Pęczek