Method UseRelay
UseRelay(NetworkStreamConnection)
Check if the given connection is using relay to connect to the remote endpoint
Declaration
public bool UseRelay(NetworkStreamConnection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkStreamConnection | connection |
Returns
| Type | Description |
|---|---|
| bool | Either if the connection is using the relay or not. |