Class Proxy

Proxy class

Base proxy client.

public abstract class Proxy : IDisposable

Properties

NameDescription
Address { get; set; }The domain name or IP address of the proxy server
Password { get; set; }Password for proxy authentication
Port { get; set; }The port number for the proxy server
Username { get; set; }Username for proxy authentication

Methods

NameDescription
virtual Dispose()Disposes this instance and requests that the underlying TCP connection be closed.
GetStream(string, int)Returns configured network stream to transport data to the required host through the proxy server.
abstract SetUpStream(Stream, string, int)Configures proxy-server to transport data to the target host.

See Also