DhcpServerSummary
Record in Oadm.Sdk.Network · Oadm.Sdk.dll
The DHCP server’s state (IDhcpServerLeases.Summary, SDK 0.15.0).
public sealed record DhcpServerSummary(bool IsRunning, string StatusText, string? InterfaceName, string? ServerAddress, string? SubnetMask, string? RangeStart, string? RangeEnd)Parameters
IsRunning: The server hands out addresses.StatusText: The status as the DHCP server page shows it (“Running”, “Stopped”).InterfaceName: The network interface it serves (“Ethernet 2”), when set.ServerAddress: The server’s own IPv4 address on that interface, when known.SubnetMask: The subnet mask of that interface (“255.255.255.0”), when known.RangeStart: The first address of its range, when set.RangeEnd: The last address of its range, when set.
Properties
Section titled “Properties”InterfaceName
Section titled “InterfaceName”string? InterfaceName { get; init; }The network interface it serves (“Ethernet 2”), when set.
IsRunning
Section titled “IsRunning”bool IsRunning { get; init; }The server hands out addresses.
RangeEnd
Section titled “RangeEnd”string? RangeEnd { get; init; }The last address of its range, when set.
RangeStart
Section titled “RangeStart”string? RangeStart { get; init; }The first address of its range, when set.
ServerAddress
Section titled “ServerAddress”string? ServerAddress { get; init; }The server’s own IPv4 address on that interface, when known.
StatusText
Section titled “StatusText”string StatusText { get; init; }The status as the DHCP server page shows it (“Running”, “Stopped”).
SubnetMask
Section titled “SubnetMask”string? SubnetMask { get; init; }The subnet mask of that interface (“255.255.255.0”), when known.