SpeechConfig.SetProxy Method

Definition

Overloads

SetProxy(String, Int32)

Configures proxy. Added in 1.3.0

SetProxy(String, Int32, String, String)

Configures proxy with username-password pair. Added in 1.1.0

Note: Proxy functionality is not available on macOS. This method will have no effect on the macOS platform.

SetProxy(String, Int32)

Configures proxy. Added in 1.3.0

public void SetProxy (string proxyHostName, int proxyPort);
member this.SetProxy : string * int -> unit
Public Sub SetProxy (proxyHostName As String, proxyPort As Integer)

Parameters

proxyHostName
String

The host name of the proxy server.

proxyPort
Int32

The port number of the proxy server.

Applies to

SetProxy(String, Int32, String, String)

Configures proxy with username-password pair. Added in 1.1.0

Note: Proxy functionality is not available on macOS. This method will have no effect on the macOS platform.

public void SetProxy (string proxyHostName, int proxyPort, string proxyUserName, string proxyPassword);
member this.SetProxy : string * int * string * string -> unit
Public Sub SetProxy (proxyHostName As String, proxyPort As Integer, proxyUserName As String, proxyPassword As String)

Parameters

proxyHostName
String

The host name of the proxy server, without the protocol scheme (http://)

proxyPort
Int32

The port number of the proxy server.

proxyUserName
String

The user name of the proxy server.

proxyPassword
String

The password of the proxy server.

Applies to