Skip to content

System.Net.NetworkInformation.NetworkInformationException was not handled when accessing adapter.GetIPProperties().GetIPv4Properties() #276

@aDisplayName

Description

@aDisplayName

In Windows, if the network interface provided to the call of ZeroconfResolver.ResolveAsync does not support NetworkInterfaceComponent.IPv4, a System.Net.NetworkInformation.NetworkInformationException will be thrown within the call at

var p = adapter.GetIPProperties().GetIPv4Properties();

This should to be documented, otherwise, the exception should better to be handled so that the exception of one interface will not abort the operations on the rest of the interface the caller requested on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions