Show / Hide Table of Contents

Class XContentTypeOptionsHeader

Represents the X-Content-Type-Options HTTP header.

Inheritance
Object
XContentTypeOptionsHeader
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Http.Headers
Assembly: IRM.AspNetCore.Mvc.dll
Syntax
public class XContentTypeOptionsHeader : ISecurityHttpHeader, IHttpHeader
Remarks

For more information about the X-Content-Type-Options HTTP header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options

Properties

Name

Gets the name of the HTTP header.

Declaration
public string Name { get; }
Property Value
String

Implements
IHttpHeader.Name

Skip

Gets or sets if the security header should be skiped for a specific request.

Declaration
public bool Skip { get; set; }
Property Value
Boolean

Implements
ISecurityHttpHeader.Skip

Value

Gets the value of the HTTP header.

Declaration
public StringValues Value { get; }
Property Value
StringValues

Implements
IHttpHeader.Value
Back to top Generated by DocFX