Skip to content

[Windows] Handle ConnectionProfiles exception#20757

Merged
PureWeen merged 2 commits intomainfrom
foda/ConnectivityException
Feb 28, 2024
Merged

[Windows] Handle ConnectionProfiles exception#20757
PureWeen merged 2 commits intomainfrom
foda/ConnectivityException

Conversation

@Foda
Copy link
Copy Markdown
Contributor

@Foda Foda commented Feb 21, 2024

Description of Change

Fix exception accessing ConnectionProfiles in Windows

Issues Fixed

Fixes #20690

@Foda Foda added platform/windows area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info potential-regression This issue described a possible regression on a currently supported version., verification pending labels Feb 21, 2024
@Foda Foda requested review from PureWeen and Redth February 21, 2024 23:25
@Foda Foda requested a review from a team as a code owner February 21, 2024 23:25
{
networkInterfaces = NetworkInterface.GetAllNetworkInterfaces();
}
catch (NetworkInformationException) { }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to log this out to an ILogger ?

@PureWeen
Copy link
Copy Markdown
Member

Failing tests are unrelated

@PureWeen PureWeen merged commit 4e09b61 into main Feb 28, 2024
@PureWeen PureWeen deleted the foda/ConnectivityException branch February 28, 2024 19:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-essentials Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info fixed-in-8.0.10 fixed-in-9.0.0-preview.2.10247 fixed-in-9.0.0-preview.2.10293 platform/windows potential-regression This issue described a possible regression on a currently supported version., verification pending

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Potential Regression] Connectivity.ConnectivityChanged app crash

3 participants