# SiloAddress.New(IPEndPoint, int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.siloaddress/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.siloaddress/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/IDs/SiloAddress.cs#L74-L76)

```csharp
public static SiloAddress New(IPEndPoint ep, int gen)
```

Factory for creating new SiloAddresses with specified IP endpoint address and silo generation number.

### Parameters

- `ep` (`IPEndPoint`): IP endpoint address of the silo.
- `gen` (`int`): Generation number of the silo.

### Returns

SiloAddress object initialized with specified address and silo generation.
