-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[wasm] Implement NetworkInterface.GetIsNetworkAvailable and NetworkChange.NetworkAvailabilityChanged #38988
Comments
Tagging subscribers to this area: @dotnet/ncl |
How should the .NET API behave when the browser API is not available? We have several situations that can happen
We could deal with it in these ways
|
For
For the Keep in mind that both of these are probably at risk of getting killed by browser anti-fingerprinting measures or something like that. |
Since we don't have access to the network cards on browser/WASM, the entire System.Net.NetworkInformation assembly is going to be PNSE excepting tho methods:
These two methods could probably be implemented on top of https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine
The text was updated successfully, but these errors were encountered: