Copyright © 2001-2019 MultiMedia Soft

SetProxyConfiguration method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies settings of an eventual proxy server for accessing the Internet.

 

 

Syntax

 

[Visual Basic]

control.SetProxyConfiguration (

bUseProxy as enumBoolean,

strHost as String,

nPort as Long,

strUsername as String,

strPassword as String

)


 

[C++]

void control.SetProxyConfiguration (

short bUseProxy,

LPCTSTR strHost,

long nPort,

LPCTSTR strUsername,

LPCTSTR strPassword

);


 

 

Parameter

Description

 

 

bUseProxy

Boolean value stating if there is the need to make use of a proxy server for accessing the Internet.

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE (default)

0

Don't use a proxy server

BOOL_TRUE

1

Use a proxy server

strHost

String containing the proxy host address

nPort

Number of the proxy's port

strUsername

String containing the proxy's username

strPassword

String containing the proxy's password

 

 

Return value

 

None