# LicensingOptions Constructors

- Package: [CommunityToolkit.Aspire.Hosting.RavenDB](/reference/api/csharp/communitytoolkit.aspire.hosting.ravendb.md)
- Type: [LicensingOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.ravendb/licensingoptions.md)
- Kind: `Constructors`
- Members: `1`

Represents licensing options for a RavenDB server.

## LicensingOptions(string, bool)

- Name: `Constructor(string, bool)`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs#L163-L176)

Represents licensing options for a RavenDB server.

```csharp
public sealed class LicensingOptions
{
    public LicensingOptions(
        string license,
        bool eulaAccepted = true)
    {
        // ...
    }
}
```

## Parameters

- `license` (`string`)
- `eulaAccepted` (`bool`) `optional`
