# MountLicence record

> Which product on which storefront a piece of content comes with: a store's name and the product's id there, as in steam and 220 for Half-Life 2.

Namespace `EvilEngine.Mounts`, assembly `EvilEngine.Mounts`. Engine commit 4ff877b1.

```csharp
public sealed record MountLicence
```

Which product on which storefront a piece of content comes with: a store's name and the product's id there, as in `steam` and `220` for Half-Life 2.

Garry's Mod's depot externals carry one each, such as `steam` and `400` for Portal. The main menu's library builds its own for each game from `[stores]` in the adapter's `adapter.toml`, and from a Steam install's key when the game has none, and uses a Steam one for the Store page and Install in Steam buttons. Nothing reads an external's licence yet.

## Members

### MountLicence (constructor)

```csharp
public MountLicence(string Storefront, string Product)
```

Makes a licence from the storefront and the product.

### Storefront (property)

```csharp
public string Storefront { get; init; }
```

The storefront's name, the same as a finder's [Store](/docs/api/ifinder#store), such as `steam`.

### Product (property)

```csharp
public string Product { get; init; }
```

The product's id on that storefront, as text. For Steam it's the app id, without the `app/` a finder's key puts in front.
