# 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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/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/a3766e994fd2cba86c8ac60b8a80268cab7e6383/src/Aspire.Hosting/ApplicationModel/Network.cs)

Represents public Internet (globally routable).

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