You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/articles/features/windows-networking.md
+34-24Lines changed: 34 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,72 +5,82 @@ uid: Uno.Features.WNetworking
5
5
# Networking
6
6
7
7
> [!TIP]
8
-
> This article covers Uno-specific information for the `Windows.Networking` namespace. For a full description of the feature and instructions on using it, see[Windows.Networking Namespace](https://learn.microsoft.com/uwp/api/windows.networking).
8
+
> This article provides specific information about Uno within the `Windows.Networking` namespace. For a comprehensive overview of the feature and guidance on how to use it, visit[Windows.Networking](https://learn.microsoft.com/uwp/api/windows.networking).
9
9
10
-
*The `Windows.Networking` namespace provides classes for accessing and managing network connections from your app.
10
+
The `Windows.Networking` namespace offers classes to access and manage network connections within your app.
11
11
12
-
## Supported features
12
+
## NetworkInformation
13
+
14
+
The `Windows.Networking.Connectivity.NetworkInformation` class provides access to network connection information and allows you to monitor changes in network connectivity. For more details, refer to the official documentation: [NetworkInformation Class](https://learn.microsoft.com/uwp/api/windows.networking.connectivity.networkinformation).
15
+
16
+
### Supported features
13
17
14
18
| Feature | Windows | Android | iOS | Web (WASM) | macOS | Linux (Skia) | Win 7 (Skia) |
Android can recognize all values of `NetworkConnectivityLevel`. iOS, macOS, and WASM return either `None` or `InternetAccess`.
33
+
Android recognizes all values of the `NetworkConnectivityLevel`[enum](https://learn.microsoft.com/uwp/api/windows.networking.connectivity.networkconnectivitylevel). In contrast, iOS, macOS, and WASM only return either `None` or `InternetAccess`.
30
34
31
-
The `android.permission.ACCESS_NETWORK_STATE` permission is required. It can be added to the application manifest or with the following attribute in the Android platform head:
35
+
The `android.permission.ACCESS_NETWORK_STATE` permission is necessary and must be included in the application manifest or specified using the following attribute in the Android platform head:
iOS and macOS use a 'ping' request to check internet connectivity. The default domain is `www.example.com`; however, you can change it to any other domain by setting the `WinRTFeatureConfiguration.NetworkInformation.ReachabilityHostname` property.
38
44
39
-
On iOS and macOS, an actual 'ping' request is necessary to verify internet connectivity. The default domain that is checked is `www.example.com`, but you can change this to be any other domain by setting the `WinRTFeatureConfiguration.NetworkInformation.ReachabilityHostname` property.
0 commit comments