Click or drag to resize

DesktopSystemupdateProxySettings Method

Updates the proxy settings.

Requires administrator privileges.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.0
Syntax
C#
public void updateProxySettings(
	string type,
	string proxyAddress,
	int proxyPort,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

type
Type: SystemString
The type of proxy.
proxyAddress
Type: SystemString
The address of the proxy. Example: "example.yourproxyserver.com".
proxyPort
Type: SystemInt32
The port of the proxy server.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
Remarks
the passed type can be either "system" or "named". Use "system" to use the default system proxy settings. Otherwise use "named" to specify the address and port of the proxy server.
See Also