Skip to content

NetworkInformation #17960

Closed Answered by morning4coffe-dev
wkmhv asked this question in Q&A
Aug 16, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @wkmhv,

If I'm not mistaken, you need to observe it directly from NetworkInformation, like this:

NetworkInformation.NetworkStatusChanged += NetworkInformation_NetworkStatusChanged;

private void NetworkInformation_NetworkStatusChanged(object sender)
{
    // Your implementation here
}

This implementation should work. There might be an issue in our documentation—I’ll investigate further. Thanks for bringing this to my attention.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wkmhv
Comment options

Answer selected by MartinZikmund
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants