Class MulticastSourceAddress
Represents the configuration for a UDP multicast source address.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class MulticastSourceAddress : NotifiableObject, IPersistable
- Inheritance
-
MulticastSourceAddress
- Implements
-
IPersistable
- Extension Methods
Constructors
MulticastSourceAddress()
public MulticastSourceAddress()
Properties
GroupAddress
Gets or sets the UDP multicast group address.
[Display(Name = "Group Address", Description = "UDP multicast group address.", Order = 0)]
public IPAddress GroupAddress { get; set; }
Property Value
IsEnabled
Gets or sets a value indicating whether the configuration is enabled.
[Display(Name = "Enabled", Description = "Is configuration enabled.", Order = 3)]
public bool IsEnabled { get; set; }
Property Value
Port
Gets or sets the local port.
[Display(Name = "Port", Description = "Local port.", Order = 2)]
public int Port { get; set; }
Property Value
SourceAddress
Gets or sets the UDP multicast source address.
[Display(Name = "Source Address", Description = "UDP multicast source address.", Order = 1)]
public IPAddress SourceAddress { get; set; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current multicast source address.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if the specified object is equal to the current instance; otherwise, false.
GetHashCode()
Returns a hash code for the current multicast source address.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Load(SettingsStorage)
Loads settings from the specified SettingsStorage.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageThe settings storage to load from.
Save(SettingsStorage)
Saves settings to the specified SettingsStorage.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageThe settings storage to save to.
ToString()
Returns a string that represents the current multicast source address.
public override string ToString()
Returns
- string
A string containing the group address, source address, and port.