Class SystemProxySetting
public class SystemProxySetting : IEquatable<SystemProxySetting>
- Inheritance
-
SystemProxySetting
- Implements
- Inherited Members
Constructors
SystemProxySetting(string, int, params string[])
public SystemProxySetting(string boundHost, int listenPort, params string[] byPassHosts)
Parameters
Properties
BoundHost
public string BoundHost { get; }
Property Value
ByPassHosts
public IReadOnlyCollection<string> ByPassHosts { get; }
Property Value
Enabled
TODO. make this class immutable and remove setter on this property
public bool Enabled { get; set; }
Property Value
ListenPort
public int ListenPort { get; set; }
Property Value
PrivateValues
This is used to store specif OS related proxy format
public Dictionary<string, object> PrivateValues { get; }
Property Value
Methods
Equals(SystemProxySetting?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(SystemProxySetting? other)
Parameters
other
SystemProxySettingAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.