Gets the proxy address.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Protected Function GetProxyAddress ( _
	hostName As String, _
	port As Integer, _
	schema As String _
) As Uri
C#
protected Uri GetProxyAddress(
	string hostName,
	int port,
	string schema
)

Parameters

hostName
Type: System..::..String
Host part of the address.
port
Type: System..::..Int32
Port part of the address.
schema
Type: System..::..String
Shema used in address.

Return Value

Returns the proxy address with the correct schema applied.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also