Skip to content

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.
string? InterfaceName { get; init; }

The network interface it serves (“Ethernet 2”), when set.

bool IsRunning { get; init; }

The server hands out addresses.

string? RangeEnd { get; init; }

The last address of its range, when set.

string? RangeStart { get; init; }

The first address of its range, when set.

string? ServerAddress { get; init; }

The server’s own IPv4 address on that interface, when known.

string StatusText { get; init; }

The status as the DHCP server page shows it (“Running”, “Stopped”).

string? SubnetMask { get; init; }

The subnet mask of that interface (“255.255.255.0”), when known.