Factory class for creating new proxy client objects.
Namespace: Starksoft.Net.Proxy
Assembly: Starksoft.Net.Proxy (in Starksoft.Net.Proxy.dll)
Syntax
| C# |
|---|
public class ProxyClientFactory |
| Visual Basic (Declaration) |
|---|
Public Class ProxyClientFactory |
Remarks
Copy Code | |
|---|---|
|
// create an instance of the client proxy factory ProxyClientFactory factory = new ProxyClientFactory(); // use the proxy client factory to generically specify the type of proxy to create // the proxy factory method CreateProxyClient returns an IProxyClient object proxy = factory.CreateProxyClient(ProxyType.Http, "localhost", 6588); // create a connection through the proxy to www.starksoft.com over port 80 tcpClient = proxy.CreateConnection("www.starksoft.com", 80); | |
Inheritance Hierarchy
See Also
ProxyClientFactory Members
Starksoft.Net.Proxy Namespace








