System::Net::WebProxy class
Contents
[
Hide
]WebProxy class
Represents an http web-proxy server. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class WebProxy : public System::Net::IWebProxy
Methods
Method | Description |
---|---|
get_Address() | Gets the address of the current proxy server. |
get_BypassList() | Gets the list of addresses that do not use the proxy server. |
get_BypassProxyOnLocal() | Gets a value that indicates if the proxy server must be used for local addresses. |
virtual get_Credentials() | Gets the credentials that are sent to the proxy server for authentication. |
get_UseDefaultCredentials() | Gets a value that indicates if the default credentials must be sent with requests. |
static GetDefaultProxy() | Returns the proxy that uses the non-dynamic settings of the Internet Explorer. |
virtual GetProxy(System::SharedPtr<Uri>) | Returns the proxied URI for a web request. |
virtual IsBypassed(System::SharedPtr<Uri>) | Checks if the proxy server is not used for the specified URI. |
set_Address(System::SharedPtr<Uri>) | Sets the address of the current proxy server. |
set_BypassList(System::ArrayPtr<String>) | Sets the list of addresses that do not use the proxy server. |
set_BypassProxyOnLocal(bool) | Sets a value that indicates if the proxy server must be used for local addresses. |
virtual set_Credentials(System::SharedPtr<ICredentials>) | Sets the credentials that are sent to the proxy server for authentication. |
set_UseDefaultCredentials(bool) | Sets a value that indicates if the default credentials must be sent with requests. |
WebProxy() | Constructs a new instance. |
WebProxy(System::SharedPtr<Uri>) | Constructs a new instance. |
WebProxy(System::SharedPtr<Uri>, bool) | Constructs a new instance. |
WebProxy(System::SharedPtr<Uri>, bool, System::ArrayPtr<String>) | Constructs a new instance. |
WebProxy(System::SharedPtr<Uri>, bool, System::ArrayPtr<String>, System::SharedPtr<ICredentials>) | Constructs a new instance. |
WebProxy(String, int32_t) | Constructs a new instance. |
WebProxy(String) | Constructs a new instance. |
WebProxy(String, bool) | Constructs a new instance. |
WebProxy(String, bool, System::ArrayPtr<String>) | Constructs a new instance. |
WebProxy(String, bool, System::ArrayPtr<String>, System::SharedPtr<ICredentials>) | Constructs a new instance. |
See Also
- Class IWebProxy
- Namespace System::Net
- Library Aspose.Font for C++