# KnownNetworkIdentifiers Fields

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [KnownNetworkIdentifiers](/reference/api/csharp/aspire.hosting/knownnetworkidentifiers.md)
- Kind: `Fields`
- Members: `3`

Provides known network identifiers for use within the Aspire application model API.

## DefaultAspireContainerNetwork

- Name: `DefaultAspireContainerNetwork`
- Modifiers: `static` `readonly`
- Returns: [NetworkIdentifier](/reference/api/csharp/aspire.hosting/networkidentifier.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/Network.cs)

Represents Aspire default, auto-created container network resource (not actual Docker/Podman network).

```csharp
public static readonly NetworkIdentifier DefaultAspireContainerNetwork
```

## LocalhostNetwork

- Name: `LocalhostNetwork`
- Modifiers: `static` `readonly`
- Returns: [NetworkIdentifier](/reference/api/csharp/aspire.hosting/networkidentifier.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/Network.cs)

The network associated with the IP loopback interface (localhost).

```csharp
public static readonly NetworkIdentifier LocalhostNetwork
```

## PublicInternet

- Name: `PublicInternet`
- Modifiers: `static` `readonly`
- Returns: [NetworkIdentifier](/reference/api/csharp/aspire.hosting/networkidentifier.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/Network.cs)

Represents public Internet (globally routable).

```csharp
public static readonly NetworkIdentifier PublicInternet
```
