-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetAllNetworkInterfaces throws on Success on Android .NET 6 #77938
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionWhen calling Reproduction StepsMainActivity.cs:
csproj file: Expected behaviorA list of network interfaces is returned, like on Windows. Actual behaviorThe method call throws the following exception: Regression?Used to work in Xamarin.Android (Mono) Known WorkaroundsNo response Configuration.NET 6 on Android x64 Other informationNo response
|
Sounds like a dupe of #75809 the mentioned .NET 6 backport fix is probably not live yet. |
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsDescriptionWhen calling Reproduction StepsMainActivity.cs:
csproj file:
Expected behaviorA list of network interfaces is returned, like on Windows. Actual behaviorThe method call throws the following exception:
Regression?Used to work in Xamarin.Android (Mono) Known WorkaroundsNo response Configuration.NET 6 on Android x64 Other informationNo response
|
cc: @simonrozsival |
#77260 was the 6.0 PR. Should be in the December servicing release. |
I think we can close this issue:
|
Description
When calling
System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces
, instead of returning the result, aSystem.Net.NetworkInformation.NetworkInformationException
is thrown with a message of 'Success'.Reproduction Steps
MainActivity.cs:
csproj file:
Expected behavior
A list of network interfaces is returned, like on Windows.
Actual behavior
The method call throws the following exception:
Regression?
Used to work in Xamarin.Android (Mono)
Known Workarounds
No response
Configuration
.NET 6 on Android x64
Other information
No response
The text was updated successfully, but these errors were encountered: