Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor code clean-up
  • Loading branch information
simonrozsival committed Jan 12, 2022
commit bc2ba2751042ae84121aa9bc6c03692f3f049f9a
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ public AndroidIPInterfaceProperties(AndroidNetworkInterface ani)
_ipv6Properties = new AndroidIPv6InterfaceProperties(ani);
}

public override bool IsDynamicDnsEnabled => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);
public override IPv4InterfaceProperties GetIPv4Properties() => _ipv4Properties;
public override IPv6InterfaceProperties GetIPv6Properties() => _ipv6Properties;

public override bool IsDynamicDnsEnabled => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);
public override IPAddressInformationCollection AnycastAddresses => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);

public override GatewayIPAddressInformationCollection GatewayAddresses => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);

public override IPAddressCollection DhcpServerAddresses => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);

public override IPAddressCollection WinsServersAddresses => throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);

public override IPv4InterfaceProperties GetIPv4Properties() => _ipv4Properties;

public override IPv6InterfaceProperties GetIPv6Properties() => _ipv6Properties;
}
}