# UrlSnapshot Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [UrlSnapshot](/reference/api/csharp/aspire.hosting/urlsnapshot.md)
- Kind: `Properties`
- Members: `5`

A snapshot of the URL.

## DisplayProperties

- Name: `DisplayProperties`
- Modifiers: `get; init`
- Returns: [UrlDisplayPropertiesSnapshot](/reference/api/csharp/aspire.hosting/urldisplaypropertiessnapshot.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs)

The UI display properties for the url.

```csharp
public UrlDisplayPropertiesSnapshot DisplayProperties { get; init; }
```

## IsInactive

- Name: `IsInactive`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs)

Whether this URL is inactive or not.

```csharp
public bool IsInactive { get; init; }
```

## Remarks

Inactive URLs are not displayed in UI.

## IsInternal

- Name: `IsInternal`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs)

Determines if this URL is internal. Internal URLs are only shown in the details grid for a resource.

```csharp
public bool IsInternal { get; init; }
```

## Name

- Name: `Name`
- Modifiers: `nullable` `get; init`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs)

Name of the endpoint associated with the URL.

```csharp
public string? Name { get; init; }
```

## Url

- Name: `Url`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/CustomResourceSnapshot.cs)

The full URL.

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