Skip to content

InterfaceOptions

Static class in Oadm.Sdk.Network · Oadm.Sdk.dll

Builds the entries of an interface select.

public static class InterfaceOptions
static InterfaceOption From(ServerNetworkInterface nic, string? addressText = null)

The option of an interface; addressText defaults to its primary address.

static string Label(ServerNetworkInterface nic, string addressText)

“Ethernet - 10.0.0.17 (Intel I219)”; the description is left out when it equals the name.