Class NetworkConnection
An abstraction which allows manipulation and monitoring of proxy settings for specific network connection.
Inheritance
Namespace: Telerik.NetworkConnections
Assembly: Telerik.NetworkConnections.dll
Syntax
public abstract class NetworkConnection : Object, IEquatable<NetworkConnection>, IDisposable
Constructors
NetworkConnection(NetworkConnectionFullName)
Initializes a new instance of the NetworkConnection class.
Declaration
protected NetworkConnection(NetworkConnectionFullName fullName)
Parameters
NetworkConnectionFullName
fullName
The full name. |
Properties
FullName
Gets the full name of the connection.
Declaration
public NetworkConnectionFullName FullName { get; }
Property Value
NetworkConnectionFullName
The full name of the connection. |
Methods
Dispose()
Performs releasing of resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases resources for this instance.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Equals(NetworkConnection)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(NetworkConnection other)
Parameters
NetworkConnection
other
An object to compare with this object. |
Returns
System.Boolean
true if the current object is equal to the |
Finalize()
Finalizes an instance of the NetworkConnection class.
Declaration
protected override void Finalize()
GetCurrentProxySettings()
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
OnProxySettingsChanged(ProxySettingsChangedEventArgs)
Raises the ProxySettingsChanged event.
Declaration
protected virtual void OnProxySettingsChanged(ProxySettingsChangedEventArgs ea)
Parameters
ProxySettingsChangedEventArgs
ea
The ProxySettingsChangedEventArgs instance containing the event data. |
SetProxySettings(ProxySettings)
Declaration
public abstract void SetProxySettings(ProxySettings proxySettings)
Parameters
ProxySettings
proxySettings
|
Events
ProxySettingsChanged
Occurs when proxy settings for this connection are changed.
Declaration
public event EventHandler<ProxySettingsChangedEventArgs> ProxySettingsChanged
Event Type
System.EventHandler<ProxySettingsChangedEventArgs>
|