Description
Following up on
#19261
and
#20757
i got a strange new exception.
Case is similar to #20690
Windows went to hibernate and lost company vpn connection.
I'm on Windows 11

and got this exception
UNHANDELED EXCEPTION IN audius.dashface.App:
Message:Aufruf wurde durch Messagefilter abgebrochen. (0x80010002 (RPC_E_CALL_CANCELED))
Stack: at Microsoft.Maui.Networking.ConnectivityNativeHelper.INetworkListManager.GetNetworks(NLM_ENUM_NETWORK flags)
at Microsoft.Maui.Networking.ConnectivityImplementation.get_NetworkAccess()
at Microsoft.Maui.Networking.ConnectivityImplementation.SetCurrent()
at Microsoft.Maui.Networking.ConnectivityImplementation.OnConnectivityChanged(ConnectivityChangedEventArgs e)
at Microsoft.Maui.Networking.ConnectivityImplementation.OnConnectivityChanged(NetworkAccess access, IEnumerable`1 profiles)
at Microsoft.Maui.Networking.ConnectivityImplementation.OnConnectivityChanged()
at Microsoft.Maui.Networking.ConnectivityImplementation.NetworkStatusChanged(Object sender)
at WinRT._EventSource_global__Windows_Networking_Connectivity_NetworkStatusChangedEventHandler.EventState.<GetEventInvoke>b__1_0(Object sender)
at ABI.Windows.Networking.Connectivity.NetworkStatusChangedEventHandler.Do_Abi_Invoke(IntPtr thisPtr, IntPtr sender)
Inner Ex.:
this pointed out a second issue
|
if (OperatingSystem.IsWindowsVersionAtLeast(11)) |
if (OperatingSystem.IsWindowsVersionAtLeast(11))
is always false, because this OSVersion for Windows 11 is still 10
cc: @Foda
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
Nightly / CI build (Please specify exact version)
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11, Build 22631. Maui 8.0.40-nightly.10539
Did you find any workaround?
No response
Relevant log output
No response
Description
Following up on
#19261
and
#20757
i got a strange new exception.
Case is similar to #20690
Windows went to hibernate and lost company vpn connection.
I'm on Windows 11

and got this exception
this pointed out a second issue
maui/src/Essentials/src/Connectivity/Connectivity.uwp.cs
Line 24 in 3f9472b
if (OperatingSystem.IsWindowsVersionAtLeast(11))is always false, because this OSVersion for Windows 11 is still 10
cc: @Foda
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
Nightly / CI build (Please specify exact version)
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 11, Build 22631. Maui 8.0.40-nightly.10539
Did you find any workaround?
No response
Relevant log output
No response