# 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/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.RavenDB/RavenDBServerSettings.cs#L156-L169)

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`
