Skip to content

LinuxIPv4InterfaceProperties.get_IsDhcpEnabled throws NotSupportedException #31628

Description

@AgnesAarthy

I am running the same code for getting the network informations in .Netcore 3.0. The Property System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.get_IsDhcpEnabled() givs me the result wen it is Run in Windows Platform but throws the below issue in Linux Platform
Exception :
GetNetworkInterfaceInfo Failed: 'System.PlatformNotSupportedException:
The information requested is unavailable on the current platform.

at System.Net.NetworkInformation.LinuxIPv4InterfaceProperties.get_IsDhcpEnabled()

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.NetenhancementProduct code improvement that does NOT require public API changes/additionsos-linuxLinux OS (any supported distro)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions