## Proxy.GetStream method

Returns configured network stream to transport data to the required host through the proxy server.

```csharp
public Stream GetStream(string address, int port)
```

| Parameter | Type | Description |
| --- | --- | --- |
| address | String | The domain name of the host we want to contact |
| port | Int32 | The port number of the host we want to contact |

### Return Value

Returns configure network stream to connect with required host through the proxy server.

### See Also

* class [Proxy](../)
* namespace [Aspose.Email.Clients](../../proxy/)
* assembly [Aspose.Email](../../../)


