System::Net::IWebProxy class

IWebProxy class

This interface used for implementation of proxy access to the WebRequest class. 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 IWebProxy : public virtual System::Object

Methods

MethodDescription
virtual get_Credentials()RTTI information.
virtual GetProxy(System::SharedPtr<Uri>)Returns the proxy URI.
virtual IsBypassed(System::SharedPtr<Uri>)Returns a value that indicates if the proxy must not be used for the specified host.
virtual set_Credentials(System::SharedPtr<ICredentials>)Sets credentials for authentication on the proxy server.

See Also