# ZooKeeperGatewayListProvider.GetGateways

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.clustering.zookeeper/orleans.runtime.membership.zookeepergatewaylistprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.clustering.zookeeper/orleans.runtime.membership.zookeepergatewaylistprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.cs#L50-L58)

```csharp
public Task<IList<Uri>> GetGateways()
```

Returns the list of gateways (silos) that can be used by a client to connect to Orleans cluster. The Uri is in the form of: "gwy.tcp://IP:port/Generation". See Utils.ToGatewayUri and Utils.ToSiloAddress for more details about Uri format.
