Copyright © 2005-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]

Public Sub SetProxyConfiguration (

bUseProxy as Boolean,

strHost as String,

nPort as Int32,

strUsername as String,

strPassword as String

)


 

[C#]

public void SetProxyConfiguration (

bool bUseProxy,

string strHost,

Int32 nPort,

string strUsername,

string strPassword

);


 

[C++]

public: void SetProxyConfiguration (

bool bUseProxy,

string strHost,

Int32 nPort,

string strUsername,

string 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:

Value

Meaning

false (default)

Don't use a proxy server

true

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