LicenseSpring Management .Net SDK 1.10.1
Easily add Software Licensing to your application
Loading...
Searching...
No Matches
LicenseSpring.ProxySettings Class Reference

ProxySettings class. More...

Inheritance diagram for LicenseSpring.ProxySettings:
LicenseSpring.IProxySettings

Public Member Functions

 ProxySettings ()
 Use default proxy settings, corresponds to .Net defaults.
 
 ProxySettings (string proxyUri, bool useDefaultCredentials=true)
 Create custom proxy, try to use default credentials.
 
 ProxySettings (string user, string password)
 Create default proxy settings, but with custom user credentials.
 
 ProxySettings (string user, string password, string proxyUri)
 Create alternate manually set proxy.
 

Properties

string Password [get, set]
 Proxy user password.
 
string ProxyUri [get, set]
 Proxy Uri.
 
bool UseDefaultCredentials [get, set]
 Whether SDK should try to use default credentials.See https://docs.microsoft.com/en-us/dotnet/api/system.net.credentialcache.defaultnetworkcredentials
 
string User [get, set]
 Proxy user name.
 
- Properties inherited from LicenseSpring.IProxySettings

Detailed Description

ProxySettings class.

Proxy settings can be set through the ExtendedOptions or directly through the Configuration.Proxy.

Constructor & Destructor Documentation

◆ ProxySettings() [1/3]

LicenseSpring.ProxySettings.ProxySettings ( string  proxyUri,
bool  useDefaultCredentials = true 
)

Create custom proxy, try to use default credentials.

For example proxyUri could be something like this "http://local.example.com:1080".

Parameters
proxyUriProxy Uri
useDefaultCredentialsUse default credentials

◆ ProxySettings() [2/3]

LicenseSpring.ProxySettings.ProxySettings ( string  user,
string  password 
)

Create default proxy settings, but with custom user credentials.

Parameters
userUser name
passwordUser password

◆ ProxySettings() [3/3]

LicenseSpring.ProxySettings.ProxySettings ( string  user,
string  password,
string  proxyUri 
)

Create alternate manually set proxy.

Parameters
userUser name
passwordUser password
proxyUriProxy Uri

Property Documentation

◆ Password

string LicenseSpring.ProxySettings.Password
getset

Proxy user password.

Implements LicenseSpring.IProxySettings.

◆ ProxyUri

string LicenseSpring.ProxySettings.ProxyUri
getset

Proxy Uri.

Implements LicenseSpring.IProxySettings.

◆ UseDefaultCredentials

bool LicenseSpring.ProxySettings.UseDefaultCredentials
getset

◆ User

string LicenseSpring.ProxySettings.User
getset

Proxy user name.

Implements LicenseSpring.IProxySettings.


The documentation for this class was generated from the following file: