# NetworkEndpointSnapshot Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [NetworkEndpointSnapshot](/reference/api/csharp/aspire.hosting/networkendpointsnapshot.md)
- Kind: `Properties`
- Members: `2`

Represents an AllocatedEndpoint snapshot associated with a specific network.

## NetworkID

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

The ID of the network that is associated with the AllocatedEndpoint snapshot.

```csharp
public NetworkIdentifier NetworkID { get; init; }
```

## Snapshot

- Name: `Snapshot`
- Modifiers: `get; init`
- Returns: `ValueSnapshot<AllocatedEndpoint>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/EndpointAnnotation.cs)

AllocatedEndpoint snapshot

```csharp
public ValueSnapshot<AllocatedEndpoint> Snapshot { get; init; }
```
