# RouteAttribute.UseCors

Kind: Property  
Namespace: `Sisk.Core.Routing`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Routing.RouteAttribute.UseCors.html

## UseCors {#Sisk_Core_Routing_RouteAttribute_UseCors}

Gets or sets whether this route should send Cross-Origin Resource Sharing headers in the response.

```csharp
public bool UseCors { get; set; }
```

### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
