winrt-Windows.Networking.Connectivity 3.2.1__cp314-cp314-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_networking_connectivity.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_networking_connectivity.pyi +494 -0
- winrt/windows/networking/connectivity/__init__.py +203 -0
- winrt/windows/networking/connectivity/py.typed +0 -0
- winrt_windows_networking_connectivity-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_networking_connectivity-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_networking_connectivity-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_networking_connectivity-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.networking as windows_networking
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
from winrt.windows.networking.connectivity import CellularApnAuthenticationType, ConnectionProfileDeleteStatus, DataUsageGranularity, DomainAuthenticationKind, DomainConnectivityLevel, NetworkAuthenticationType, NetworkConnectivityLevel, NetworkCostType, NetworkEncryptionType, NetworkTypes, RoamingStates, TriStates, WwanDataClass, WwanNetworkIPKind, WwanNetworkRegistrationState
|
|
18
|
+
from winrt.windows.networking.connectivity import NetworkStatusChangedEventHandler
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class NetworkUsageStates:
|
|
24
|
+
@_property
|
|
25
|
+
def roaming(self) -> TriStates: ...
|
|
26
|
+
@_property
|
|
27
|
+
def shared(self) -> TriStates: ...
|
|
28
|
+
def __new__(cls, roaming: TriStates = TriStates(0), shared: TriStates = TriStates(0)) -> NetworkUsageStates: ...
|
|
29
|
+
def __replace__(self, /, **changes: typing.Any) -> NetworkUsageStates: ...
|
|
30
|
+
def unpack(self) -> typing.Tuple[TriStates, TriStates]: ...
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class AttributedNetworkUsage(winrt.system.Object):
|
|
34
|
+
# System.String Windows.Networking.Connectivity.AttributedNetworkUsage::get_AttributionId()
|
|
35
|
+
@_property
|
|
36
|
+
def attribution_id(self) -> str: ...
|
|
37
|
+
# System.String Windows.Networking.Connectivity.AttributedNetworkUsage::get_AttributionName()
|
|
38
|
+
@_property
|
|
39
|
+
def attribution_name(self) -> str: ...
|
|
40
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.Networking.Connectivity.AttributedNetworkUsage::get_AttributionThumbnail()
|
|
41
|
+
@_property
|
|
42
|
+
def attribution_thumbnail(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
43
|
+
# System.UInt64 Windows.Networking.Connectivity.AttributedNetworkUsage::get_BytesReceived()
|
|
44
|
+
@_property
|
|
45
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
46
|
+
# System.UInt64 Windows.Networking.Connectivity.AttributedNetworkUsage::get_BytesSent()
|
|
47
|
+
@_property
|
|
48
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class CellularApnContext(winrt.system.Object):
|
|
52
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
53
|
+
# System.String Windows.Networking.Connectivity.CellularApnContext::get_UserName()
|
|
54
|
+
@_property
|
|
55
|
+
def user_name(self) -> str: ...
|
|
56
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_UserName(System.String)
|
|
57
|
+
@user_name.setter
|
|
58
|
+
def user_name(self, value: str) -> None: ...
|
|
59
|
+
# System.String Windows.Networking.Connectivity.CellularApnContext::get_ProviderId()
|
|
60
|
+
@_property
|
|
61
|
+
def provider_id(self) -> str: ...
|
|
62
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_ProviderId(System.String)
|
|
63
|
+
@provider_id.setter
|
|
64
|
+
def provider_id(self, value: str) -> None: ...
|
|
65
|
+
# System.String Windows.Networking.Connectivity.CellularApnContext::get_Password()
|
|
66
|
+
@_property
|
|
67
|
+
def password(self) -> str: ...
|
|
68
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_Password(System.String)
|
|
69
|
+
@password.setter
|
|
70
|
+
def password(self, value: str) -> None: ...
|
|
71
|
+
# System.Boolean Windows.Networking.Connectivity.CellularApnContext::get_IsCompressionEnabled()
|
|
72
|
+
@_property
|
|
73
|
+
def is_compression_enabled(self) -> bool: ...
|
|
74
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_IsCompressionEnabled(System.Boolean)
|
|
75
|
+
@is_compression_enabled.setter
|
|
76
|
+
def is_compression_enabled(self, value: bool) -> None: ...
|
|
77
|
+
# Windows.Networking.Connectivity.CellularApnAuthenticationType Windows.Networking.Connectivity.CellularApnContext::get_AuthenticationType()
|
|
78
|
+
@_property
|
|
79
|
+
def authentication_type(self) -> CellularApnAuthenticationType: ...
|
|
80
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_AuthenticationType(Windows.Networking.Connectivity.CellularApnAuthenticationType)
|
|
81
|
+
@authentication_type.setter
|
|
82
|
+
def authentication_type(self, value: CellularApnAuthenticationType) -> None: ...
|
|
83
|
+
# System.String Windows.Networking.Connectivity.CellularApnContext::get_AccessPointName()
|
|
84
|
+
@_property
|
|
85
|
+
def access_point_name(self) -> str: ...
|
|
86
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_AccessPointName(System.String)
|
|
87
|
+
@access_point_name.setter
|
|
88
|
+
def access_point_name(self, value: str) -> None: ...
|
|
89
|
+
# System.String Windows.Networking.Connectivity.CellularApnContext::get_ProfileName()
|
|
90
|
+
@_property
|
|
91
|
+
def profile_name(self) -> str: ...
|
|
92
|
+
# System.Void Windows.Networking.Connectivity.CellularApnContext::put_ProfileName(System.String)
|
|
93
|
+
@profile_name.setter
|
|
94
|
+
def profile_name(self, value: str) -> None: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class ConnectionCost(winrt.system.Object):
|
|
98
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionCost::get_ApproachingDataLimit()
|
|
99
|
+
@_property
|
|
100
|
+
def approaching_data_limit(self) -> bool: ...
|
|
101
|
+
# Windows.Networking.Connectivity.NetworkCostType Windows.Networking.Connectivity.ConnectionCost::get_NetworkCostType()
|
|
102
|
+
@_property
|
|
103
|
+
def network_cost_type(self) -> NetworkCostType: ...
|
|
104
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionCost::get_OverDataLimit()
|
|
105
|
+
@_property
|
|
106
|
+
def over_data_limit(self) -> bool: ...
|
|
107
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionCost::get_Roaming()
|
|
108
|
+
@_property
|
|
109
|
+
def roaming(self) -> bool: ...
|
|
110
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionCost::get_BackgroundDataUsageRestricted()
|
|
111
|
+
@_property
|
|
112
|
+
def background_data_usage_restricted(self) -> bool: ...
|
|
113
|
+
|
|
114
|
+
@typing.final
|
|
115
|
+
class ConnectionProfile(winrt.system.Object):
|
|
116
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.AttributedNetworkUsage>> Windows.Networking.Connectivity.ConnectionProfile::GetAttributedNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.NetworkUsageStates)
|
|
117
|
+
def get_attributed_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: typing.Union[NetworkUsageStates, typing.Tuple[TriStates, TriStates]], /) -> windows_foundation.IAsyncOperation[typing.Sequence[AttributedNetworkUsage]]: ...
|
|
118
|
+
# Windows.Networking.Connectivity.ConnectionCost Windows.Networking.Connectivity.ConnectionProfile::GetConnectionCost()
|
|
119
|
+
def get_connection_cost(self) -> ConnectionCost: ...
|
|
120
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.ConnectivityInterval>> Windows.Networking.Connectivity.ConnectionProfile::GetConnectivityIntervalsAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.NetworkUsageStates)
|
|
121
|
+
def get_connectivity_intervals_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: typing.Union[NetworkUsageStates, typing.Tuple[TriStates, TriStates]], /) -> windows_foundation.IAsyncOperation[typing.Sequence[ConnectivityInterval]]: ...
|
|
122
|
+
# Windows.Networking.Connectivity.DataPlanStatus Windows.Networking.Connectivity.ConnectionProfile::GetDataPlanStatus()
|
|
123
|
+
def get_data_plan_status(self) -> DataPlanStatus: ...
|
|
124
|
+
# Windows.Networking.Connectivity.DomainConnectivityLevel Windows.Networking.Connectivity.ConnectionProfile::GetDomainConnectivityLevel()
|
|
125
|
+
def get_domain_connectivity_level(self) -> DomainConnectivityLevel: ...
|
|
126
|
+
# Windows.Networking.Connectivity.DataUsage Windows.Networking.Connectivity.ConnectionProfile::GetLocalUsage(Windows.Foundation.DateTime,Windows.Foundation.DateTime)
|
|
127
|
+
# @deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")
|
|
128
|
+
def get_local_usage(self, start_time: datetime.datetime, end_time: datetime.datetime, /) -> DataUsage: ...
|
|
129
|
+
# Windows.Networking.Connectivity.DataUsage Windows.Networking.Connectivity.ConnectionProfile::GetLocalUsage(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.RoamingStates)
|
|
130
|
+
# @deprecated("GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync.")
|
|
131
|
+
def get_local_usage_per_roaming_states(self, start_time: datetime.datetime, end_time: datetime.datetime, states: RoamingStates, /) -> DataUsage: ...
|
|
132
|
+
# Windows.Networking.Connectivity.NetworkConnectivityLevel Windows.Networking.Connectivity.ConnectionProfile::GetNetworkConnectivityLevel()
|
|
133
|
+
def get_network_connectivity_level(self) -> NetworkConnectivityLevel: ...
|
|
134
|
+
# Windows.Foundation.Collections.IVectorView`1<System.String> Windows.Networking.Connectivity.ConnectionProfile::GetNetworkNames()
|
|
135
|
+
def get_network_names(self) -> typing.Sequence[str]: ...
|
|
136
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.NetworkUsage>> Windows.Networking.Connectivity.ConnectionProfile::GetNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.DataUsageGranularity,Windows.Networking.Connectivity.NetworkUsageStates)
|
|
137
|
+
def get_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, granularity: DataUsageGranularity, states: typing.Union[NetworkUsageStates, typing.Tuple[TriStates, TriStates]], /) -> windows_foundation.IAsyncOperation[typing.Sequence[NetworkUsage]]: ...
|
|
138
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.ProviderNetworkUsage>> Windows.Networking.Connectivity.ConnectionProfile::GetProviderNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.NetworkUsageStates)
|
|
139
|
+
def get_provider_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: typing.Union[NetworkUsageStates, typing.Tuple[TriStates, TriStates]], /) -> windows_foundation.IAsyncOperation[typing.Sequence[ProviderNetworkUsage]]: ...
|
|
140
|
+
# Windows.Foundation.IReference`1<System.Byte> Windows.Networking.Connectivity.ConnectionProfile::GetSignalBars()
|
|
141
|
+
def get_signal_bars(self) -> typing.Optional[winrt.system.UInt8]: ...
|
|
142
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfile::IsDomainAuthenticatedBy(Windows.Networking.Connectivity.DomainAuthenticationKind)
|
|
143
|
+
def is_domain_authenticated_by(self, kind: DomainAuthenticationKind, /) -> bool: ...
|
|
144
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.Connectivity.ConnectionProfileDeleteStatus> Windows.Networking.Connectivity.ConnectionProfile::TryDeleteAsync()
|
|
145
|
+
def try_delete_async(self) -> windows_foundation.IAsyncOperation[ConnectionProfileDeleteStatus]: ...
|
|
146
|
+
# Windows.Networking.Connectivity.NetworkAdapter Windows.Networking.Connectivity.ConnectionProfile::get_NetworkAdapter()
|
|
147
|
+
@_property
|
|
148
|
+
def network_adapter(self) -> NetworkAdapter: ...
|
|
149
|
+
# Windows.Networking.Connectivity.NetworkSecuritySettings Windows.Networking.Connectivity.ConnectionProfile::get_NetworkSecuritySettings()
|
|
150
|
+
@_property
|
|
151
|
+
def network_security_settings(self) -> NetworkSecuritySettings: ...
|
|
152
|
+
# System.String Windows.Networking.Connectivity.ConnectionProfile::get_ProfileName()
|
|
153
|
+
@_property
|
|
154
|
+
def profile_name(self) -> str: ...
|
|
155
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfile::get_IsWlanConnectionProfile()
|
|
156
|
+
@_property
|
|
157
|
+
def is_wlan_connection_profile(self) -> bool: ...
|
|
158
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfile::get_IsWwanConnectionProfile()
|
|
159
|
+
@_property
|
|
160
|
+
def is_wwan_connection_profile(self) -> bool: ...
|
|
161
|
+
# Windows.Foundation.IReference`1<System.Guid> Windows.Networking.Connectivity.ConnectionProfile::get_ServiceProviderGuid()
|
|
162
|
+
@_property
|
|
163
|
+
def service_provider_guid(self) -> typing.Optional[_uuid.UUID]: ...
|
|
164
|
+
# Windows.Networking.Connectivity.WlanConnectionProfileDetails Windows.Networking.Connectivity.ConnectionProfile::get_WlanConnectionProfileDetails()
|
|
165
|
+
@_property
|
|
166
|
+
def wlan_connection_profile_details(self) -> WlanConnectionProfileDetails: ...
|
|
167
|
+
# Windows.Networking.Connectivity.WwanConnectionProfileDetails Windows.Networking.Connectivity.ConnectionProfile::get_WwanConnectionProfileDetails()
|
|
168
|
+
@_property
|
|
169
|
+
def wwan_connection_profile_details(self) -> WwanConnectionProfileDetails: ...
|
|
170
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfile::get_CanDelete()
|
|
171
|
+
@_property
|
|
172
|
+
def can_delete(self) -> bool: ...
|
|
173
|
+
|
|
174
|
+
@typing.final
|
|
175
|
+
class ConnectionProfileFilter(winrt.system.Object):
|
|
176
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
177
|
+
# Windows.Foundation.IReference`1<System.Guid> Windows.Networking.Connectivity.ConnectionProfileFilter::get_ServiceProviderGuid()
|
|
178
|
+
@_property
|
|
179
|
+
def service_provider_guid(self) -> typing.Optional[_uuid.UUID]: ...
|
|
180
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_ServiceProviderGuid(Windows.Foundation.IReference`1<System.Guid>)
|
|
181
|
+
@service_provider_guid.setter
|
|
182
|
+
def service_provider_guid(self, value: typing.Optional[_uuid.UUID]) -> None: ...
|
|
183
|
+
# Windows.Networking.Connectivity.NetworkCostType Windows.Networking.Connectivity.ConnectionProfileFilter::get_NetworkCostType()
|
|
184
|
+
@_property
|
|
185
|
+
def network_cost_type(self) -> NetworkCostType: ...
|
|
186
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_NetworkCostType(Windows.Networking.Connectivity.NetworkCostType)
|
|
187
|
+
@network_cost_type.setter
|
|
188
|
+
def network_cost_type(self, value: NetworkCostType) -> None: ...
|
|
189
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsWwanConnectionProfile()
|
|
190
|
+
@_property
|
|
191
|
+
def is_wwan_connection_profile(self) -> bool: ...
|
|
192
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsWwanConnectionProfile(System.Boolean)
|
|
193
|
+
@is_wwan_connection_profile.setter
|
|
194
|
+
def is_wwan_connection_profile(self, value: bool) -> None: ...
|
|
195
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsWlanConnectionProfile()
|
|
196
|
+
@_property
|
|
197
|
+
def is_wlan_connection_profile(self) -> bool: ...
|
|
198
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsWlanConnectionProfile(System.Boolean)
|
|
199
|
+
@is_wlan_connection_profile.setter
|
|
200
|
+
def is_wlan_connection_profile(self, value: bool) -> None: ...
|
|
201
|
+
# System.Boolean Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsConnected()
|
|
202
|
+
@_property
|
|
203
|
+
def is_connected(self) -> bool: ...
|
|
204
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsConnected(System.Boolean)
|
|
205
|
+
@is_connected.setter
|
|
206
|
+
def is_connected(self, value: bool) -> None: ...
|
|
207
|
+
# Windows.Foundation.IReference`1<System.Boolean> Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsRoaming()
|
|
208
|
+
@_property
|
|
209
|
+
def is_roaming(self) -> typing.Optional[bool]: ...
|
|
210
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsRoaming(Windows.Foundation.IReference`1<System.Boolean>)
|
|
211
|
+
@is_roaming.setter
|
|
212
|
+
def is_roaming(self, value: typing.Optional[bool]) -> None: ...
|
|
213
|
+
# Windows.Foundation.IReference`1<System.Boolean> Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsOverDataLimit()
|
|
214
|
+
@_property
|
|
215
|
+
def is_over_data_limit(self) -> typing.Optional[bool]: ...
|
|
216
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsOverDataLimit(Windows.Foundation.IReference`1<System.Boolean>)
|
|
217
|
+
@is_over_data_limit.setter
|
|
218
|
+
def is_over_data_limit(self, value: typing.Optional[bool]) -> None: ...
|
|
219
|
+
# Windows.Foundation.IReference`1<System.Boolean> Windows.Networking.Connectivity.ConnectionProfileFilter::get_IsBackgroundDataUsageRestricted()
|
|
220
|
+
@_property
|
|
221
|
+
def is_background_data_usage_restricted(self) -> typing.Optional[bool]: ...
|
|
222
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_IsBackgroundDataUsageRestricted(Windows.Foundation.IReference`1<System.Boolean>)
|
|
223
|
+
@is_background_data_usage_restricted.setter
|
|
224
|
+
def is_background_data_usage_restricted(self, value: typing.Optional[bool]) -> None: ...
|
|
225
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.Connectivity.ConnectionProfileFilter::get_RawData()
|
|
226
|
+
@_property
|
|
227
|
+
def raw_data(self) -> winrt.system.Buffer: ...
|
|
228
|
+
# Windows.Foundation.IReference`1<System.Guid> Windows.Networking.Connectivity.ConnectionProfileFilter::get_PurposeGuid()
|
|
229
|
+
@_property
|
|
230
|
+
def purpose_guid(self) -> typing.Optional[_uuid.UUID]: ...
|
|
231
|
+
# System.Void Windows.Networking.Connectivity.ConnectionProfileFilter::put_PurposeGuid(Windows.Foundation.IReference`1<System.Guid>)
|
|
232
|
+
@purpose_guid.setter
|
|
233
|
+
def purpose_guid(self, value: typing.Optional[_uuid.UUID]) -> None: ...
|
|
234
|
+
|
|
235
|
+
@typing.final
|
|
236
|
+
class ConnectionSession(winrt.system.Object, windows_foundation.IClosable):
|
|
237
|
+
def __enter__(self: Self) -> Self: ...
|
|
238
|
+
def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
|
|
239
|
+
# System.Void Windows.Networking.Connectivity.ConnectionSession::Close()
|
|
240
|
+
def close(self) -> None: ...
|
|
241
|
+
# Windows.Networking.Connectivity.ConnectionProfile Windows.Networking.Connectivity.ConnectionSession::get_ConnectionProfile()
|
|
242
|
+
@_property
|
|
243
|
+
def connection_profile(self) -> ConnectionProfile: ...
|
|
244
|
+
|
|
245
|
+
@typing.final
|
|
246
|
+
class ConnectivityInterval(winrt.system.Object):
|
|
247
|
+
# Windows.Foundation.TimeSpan Windows.Networking.Connectivity.ConnectivityInterval::get_ConnectionDuration()
|
|
248
|
+
@_property
|
|
249
|
+
def connection_duration(self) -> datetime.timedelta: ...
|
|
250
|
+
# Windows.Foundation.DateTime Windows.Networking.Connectivity.ConnectivityInterval::get_StartTime()
|
|
251
|
+
@_property
|
|
252
|
+
def start_time(self) -> datetime.datetime: ...
|
|
253
|
+
|
|
254
|
+
@typing.final
|
|
255
|
+
class ConnectivityManager_Static(winrt._winrt.IInspectable_Static):
|
|
256
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.Connectivity.ConnectionSession> Windows.Networking.Connectivity.ConnectivityManager::AcquireConnectionAsync(Windows.Networking.Connectivity.CellularApnContext)
|
|
257
|
+
def acquire_connection_async(cls, cellular_apn_context: CellularApnContext, /) -> windows_foundation.IAsyncOperation[ConnectionSession]: ...
|
|
258
|
+
# System.Void Windows.Networking.Connectivity.ConnectivityManager::AddHttpRoutePolicy(Windows.Networking.Connectivity.RoutePolicy)
|
|
259
|
+
def add_http_route_policy(cls, route_policy: RoutePolicy, /) -> None: ...
|
|
260
|
+
# System.Void Windows.Networking.Connectivity.ConnectivityManager::RemoveHttpRoutePolicy(Windows.Networking.Connectivity.RoutePolicy)
|
|
261
|
+
def remove_http_route_policy(cls, route_policy: RoutePolicy, /) -> None: ...
|
|
262
|
+
|
|
263
|
+
@typing.final
|
|
264
|
+
class ConnectivityManager(winrt.system.Object, metaclass=ConnectivityManager_Static):
|
|
265
|
+
pass
|
|
266
|
+
|
|
267
|
+
@typing.final
|
|
268
|
+
class DataPlanStatus(winrt.system.Object):
|
|
269
|
+
# Windows.Foundation.IReference`1<System.UInt32> Windows.Networking.Connectivity.DataPlanStatus::get_DataLimitInMegabytes()
|
|
270
|
+
@_property
|
|
271
|
+
def data_limit_in_megabytes(self) -> typing.Optional[winrt.system.UInt32]: ...
|
|
272
|
+
# Windows.Networking.Connectivity.DataPlanUsage Windows.Networking.Connectivity.DataPlanStatus::get_DataPlanUsage()
|
|
273
|
+
@_property
|
|
274
|
+
def data_plan_usage(self) -> DataPlanUsage: ...
|
|
275
|
+
# Windows.Foundation.IReference`1<System.UInt64> Windows.Networking.Connectivity.DataPlanStatus::get_InboundBitsPerSecond()
|
|
276
|
+
@_property
|
|
277
|
+
def inbound_bits_per_second(self) -> typing.Optional[winrt.system.UInt64]: ...
|
|
278
|
+
# Windows.Foundation.IReference`1<System.UInt32> Windows.Networking.Connectivity.DataPlanStatus::get_MaxTransferSizeInMegabytes()
|
|
279
|
+
@_property
|
|
280
|
+
def max_transfer_size_in_megabytes(self) -> typing.Optional[winrt.system.UInt32]: ...
|
|
281
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Networking.Connectivity.DataPlanStatus::get_NextBillingCycle()
|
|
282
|
+
@_property
|
|
283
|
+
def next_billing_cycle(self) -> typing.Optional[datetime.datetime]: ...
|
|
284
|
+
# Windows.Foundation.IReference`1<System.UInt64> Windows.Networking.Connectivity.DataPlanStatus::get_OutboundBitsPerSecond()
|
|
285
|
+
@_property
|
|
286
|
+
def outbound_bits_per_second(self) -> typing.Optional[winrt.system.UInt64]: ...
|
|
287
|
+
|
|
288
|
+
@typing.final
|
|
289
|
+
class DataPlanUsage(winrt.system.Object):
|
|
290
|
+
# Windows.Foundation.DateTime Windows.Networking.Connectivity.DataPlanUsage::get_LastSyncTime()
|
|
291
|
+
@_property
|
|
292
|
+
def last_sync_time(self) -> datetime.datetime: ...
|
|
293
|
+
# System.UInt32 Windows.Networking.Connectivity.DataPlanUsage::get_MegabytesUsed()
|
|
294
|
+
@_property
|
|
295
|
+
def megabytes_used(self) -> winrt.system.UInt32: ...
|
|
296
|
+
|
|
297
|
+
@typing.final
|
|
298
|
+
class DataUsage(winrt.system.Object):
|
|
299
|
+
# System.UInt64 Windows.Networking.Connectivity.DataUsage::get_BytesReceived()
|
|
300
|
+
@_property
|
|
301
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
302
|
+
# System.UInt64 Windows.Networking.Connectivity.DataUsage::get_BytesSent()
|
|
303
|
+
@_property
|
|
304
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
305
|
+
|
|
306
|
+
@typing.final
|
|
307
|
+
class IPInformation(winrt.system.Object):
|
|
308
|
+
# Windows.Networking.Connectivity.NetworkAdapter Windows.Networking.Connectivity.IPInformation::get_NetworkAdapter()
|
|
309
|
+
@_property
|
|
310
|
+
def network_adapter(self) -> NetworkAdapter: ...
|
|
311
|
+
# Windows.Foundation.IReference`1<System.Byte> Windows.Networking.Connectivity.IPInformation::get_PrefixLength()
|
|
312
|
+
@_property
|
|
313
|
+
def prefix_length(self) -> typing.Optional[winrt.system.UInt8]: ...
|
|
314
|
+
|
|
315
|
+
@typing.final
|
|
316
|
+
class LanIdentifier(winrt.system.Object):
|
|
317
|
+
# Windows.Networking.Connectivity.LanIdentifierData Windows.Networking.Connectivity.LanIdentifier::get_InfrastructureId()
|
|
318
|
+
@_property
|
|
319
|
+
def infrastructure_id(self) -> LanIdentifierData: ...
|
|
320
|
+
# System.Guid Windows.Networking.Connectivity.LanIdentifier::get_NetworkAdapterId()
|
|
321
|
+
@_property
|
|
322
|
+
def network_adapter_id(self) -> _uuid.UUID: ...
|
|
323
|
+
# Windows.Networking.Connectivity.LanIdentifierData Windows.Networking.Connectivity.LanIdentifier::get_PortId()
|
|
324
|
+
@_property
|
|
325
|
+
def port_id(self) -> LanIdentifierData: ...
|
|
326
|
+
|
|
327
|
+
@typing.final
|
|
328
|
+
class LanIdentifierData(winrt.system.Object):
|
|
329
|
+
# System.UInt32 Windows.Networking.Connectivity.LanIdentifierData::get_Type()
|
|
330
|
+
@_property
|
|
331
|
+
def type(self) -> winrt.system.UInt32: ...
|
|
332
|
+
# Windows.Foundation.Collections.IVectorView`1<System.Byte> Windows.Networking.Connectivity.LanIdentifierData::get_Value()
|
|
333
|
+
@_property
|
|
334
|
+
def value(self) -> typing.Sequence[winrt.system.UInt8]: ...
|
|
335
|
+
|
|
336
|
+
@typing.final
|
|
337
|
+
class NetworkAdapter(winrt.system.Object):
|
|
338
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.Connectivity.ConnectionProfile> Windows.Networking.Connectivity.NetworkAdapter::GetConnectedProfileAsync()
|
|
339
|
+
def get_connected_profile_async(self) -> windows_foundation.IAsyncOperation[ConnectionProfile]: ...
|
|
340
|
+
# System.UInt32 Windows.Networking.Connectivity.NetworkAdapter::get_IanaInterfaceType()
|
|
341
|
+
@_property
|
|
342
|
+
def iana_interface_type(self) -> winrt.system.UInt32: ...
|
|
343
|
+
# System.UInt64 Windows.Networking.Connectivity.NetworkAdapter::get_InboundMaxBitsPerSecond()
|
|
344
|
+
@_property
|
|
345
|
+
def inbound_max_bits_per_second(self) -> winrt.system.UInt64: ...
|
|
346
|
+
# System.Guid Windows.Networking.Connectivity.NetworkAdapter::get_NetworkAdapterId()
|
|
347
|
+
@_property
|
|
348
|
+
def network_adapter_id(self) -> _uuid.UUID: ...
|
|
349
|
+
# Windows.Networking.Connectivity.NetworkItem Windows.Networking.Connectivity.NetworkAdapter::get_NetworkItem()
|
|
350
|
+
@_property
|
|
351
|
+
def network_item(self) -> NetworkItem: ...
|
|
352
|
+
# System.UInt64 Windows.Networking.Connectivity.NetworkAdapter::get_OutboundMaxBitsPerSecond()
|
|
353
|
+
@_property
|
|
354
|
+
def outbound_max_bits_per_second(self) -> winrt.system.UInt64: ...
|
|
355
|
+
|
|
356
|
+
@typing.final
|
|
357
|
+
class NetworkInformation_Static(winrt._winrt.IInspectable_Static):
|
|
358
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.ConnectionProfile>> Windows.Networking.Connectivity.NetworkInformation::FindConnectionProfilesAsync(Windows.Networking.Connectivity.ConnectionProfileFilter)
|
|
359
|
+
def find_connection_profiles_async(cls, p_profile_filter: ConnectionProfileFilter, /) -> windows_foundation.IAsyncOperation[typing.Sequence[ConnectionProfile]]: ...
|
|
360
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.ConnectionProfile> Windows.Networking.Connectivity.NetworkInformation::GetConnectionProfiles()
|
|
361
|
+
def get_connection_profiles(cls) -> typing.Sequence[ConnectionProfile]: ...
|
|
362
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.HostName> Windows.Networking.Connectivity.NetworkInformation::GetHostNames()
|
|
363
|
+
def get_host_names(cls) -> typing.Sequence[windows_networking.HostName]: ...
|
|
364
|
+
# Windows.Networking.Connectivity.ConnectionProfile Windows.Networking.Connectivity.NetworkInformation::GetInternetConnectionProfile()
|
|
365
|
+
def get_internet_connection_profile(cls) -> ConnectionProfile: ...
|
|
366
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Connectivity.LanIdentifier> Windows.Networking.Connectivity.NetworkInformation::GetLanIdentifiers()
|
|
367
|
+
def get_lan_identifiers(cls) -> typing.Sequence[LanIdentifier]: ...
|
|
368
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.Connectivity.ProxyConfiguration> Windows.Networking.Connectivity.NetworkInformation::GetProxyConfigurationAsync(Windows.Foundation.Uri)
|
|
369
|
+
def get_proxy_configuration_async(cls, uri: windows_foundation.Uri, /) -> windows_foundation.IAsyncOperation[ProxyConfiguration]: ...
|
|
370
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.EndpointPair> Windows.Networking.Connectivity.NetworkInformation::GetSortedEndpointPairs(Windows.Foundation.Collections.IIterable`1<Windows.Networking.EndpointPair>,Windows.Networking.HostNameSortOptions)
|
|
371
|
+
def get_sorted_endpoint_pairs(cls, destination_list: typing.Iterable[windows_networking.EndpointPair], sort_options: windows_networking.HostNameSortOptions, /) -> typing.Sequence[windows_networking.EndpointPair]: ...
|
|
372
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Connectivity.NetworkInformation::add_NetworkStatusChanged(Windows.Networking.Connectivity.NetworkStatusChangedEventHandler)
|
|
373
|
+
def add_network_status_changed(cls, network_status_handler: NetworkStatusChangedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
374
|
+
# System.Void Windows.Networking.Connectivity.NetworkInformation::remove_NetworkStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
375
|
+
def remove_network_status_changed(cls, event_cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
376
|
+
|
|
377
|
+
@typing.final
|
|
378
|
+
class NetworkInformation(winrt.system.Object, metaclass=NetworkInformation_Static):
|
|
379
|
+
pass
|
|
380
|
+
|
|
381
|
+
@typing.final
|
|
382
|
+
class NetworkItem(winrt.system.Object):
|
|
383
|
+
# Windows.Networking.Connectivity.NetworkTypes Windows.Networking.Connectivity.NetworkItem::GetNetworkTypes()
|
|
384
|
+
def get_network_types(self) -> NetworkTypes: ...
|
|
385
|
+
# System.Guid Windows.Networking.Connectivity.NetworkItem::get_NetworkId()
|
|
386
|
+
@_property
|
|
387
|
+
def network_id(self) -> _uuid.UUID: ...
|
|
388
|
+
|
|
389
|
+
@typing.final
|
|
390
|
+
class NetworkSecuritySettings(winrt.system.Object):
|
|
391
|
+
# Windows.Networking.Connectivity.NetworkAuthenticationType Windows.Networking.Connectivity.NetworkSecuritySettings::get_NetworkAuthenticationType()
|
|
392
|
+
@_property
|
|
393
|
+
def network_authentication_type(self) -> NetworkAuthenticationType: ...
|
|
394
|
+
# Windows.Networking.Connectivity.NetworkEncryptionType Windows.Networking.Connectivity.NetworkSecuritySettings::get_NetworkEncryptionType()
|
|
395
|
+
@_property
|
|
396
|
+
def network_encryption_type(self) -> NetworkEncryptionType: ...
|
|
397
|
+
|
|
398
|
+
@typing.final
|
|
399
|
+
class NetworkStateChangeEventDetails(winrt.system.Object):
|
|
400
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewConnectionCost()
|
|
401
|
+
@_property
|
|
402
|
+
def has_new_connection_cost(self) -> bool: ...
|
|
403
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewDomainConnectivityLevel()
|
|
404
|
+
@_property
|
|
405
|
+
def has_new_domain_connectivity_level(self) -> bool: ...
|
|
406
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewHostNameList()
|
|
407
|
+
@_property
|
|
408
|
+
def has_new_host_name_list(self) -> bool: ...
|
|
409
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewInternetConnectionProfile()
|
|
410
|
+
@_property
|
|
411
|
+
def has_new_internet_connection_profile(self) -> bool: ...
|
|
412
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewNetworkConnectivityLevel()
|
|
413
|
+
@_property
|
|
414
|
+
def has_new_network_connectivity_level(self) -> bool: ...
|
|
415
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewWwanRegistrationState()
|
|
416
|
+
@_property
|
|
417
|
+
def has_new_wwan_registration_state(self) -> bool: ...
|
|
418
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewTetheringClientCount()
|
|
419
|
+
@_property
|
|
420
|
+
def has_new_tethering_client_count(self) -> bool: ...
|
|
421
|
+
# System.Boolean Windows.Networking.Connectivity.NetworkStateChangeEventDetails::get_HasNewTetheringOperationalState()
|
|
422
|
+
@_property
|
|
423
|
+
def has_new_tethering_operational_state(self) -> bool: ...
|
|
424
|
+
|
|
425
|
+
@typing.final
|
|
426
|
+
class NetworkUsage(winrt.system.Object):
|
|
427
|
+
# System.UInt64 Windows.Networking.Connectivity.NetworkUsage::get_BytesReceived()
|
|
428
|
+
@_property
|
|
429
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
430
|
+
# System.UInt64 Windows.Networking.Connectivity.NetworkUsage::get_BytesSent()
|
|
431
|
+
@_property
|
|
432
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
433
|
+
# Windows.Foundation.TimeSpan Windows.Networking.Connectivity.NetworkUsage::get_ConnectionDuration()
|
|
434
|
+
@_property
|
|
435
|
+
def connection_duration(self) -> datetime.timedelta: ...
|
|
436
|
+
|
|
437
|
+
@typing.final
|
|
438
|
+
class ProviderNetworkUsage(winrt.system.Object):
|
|
439
|
+
# System.UInt64 Windows.Networking.Connectivity.ProviderNetworkUsage::get_BytesReceived()
|
|
440
|
+
@_property
|
|
441
|
+
def bytes_received(self) -> winrt.system.UInt64: ...
|
|
442
|
+
# System.UInt64 Windows.Networking.Connectivity.ProviderNetworkUsage::get_BytesSent()
|
|
443
|
+
@_property
|
|
444
|
+
def bytes_sent(self) -> winrt.system.UInt64: ...
|
|
445
|
+
# System.String Windows.Networking.Connectivity.ProviderNetworkUsage::get_ProviderId()
|
|
446
|
+
@_property
|
|
447
|
+
def provider_id(self) -> str: ...
|
|
448
|
+
|
|
449
|
+
@typing.final
|
|
450
|
+
class ProxyConfiguration(winrt.system.Object):
|
|
451
|
+
# System.Boolean Windows.Networking.Connectivity.ProxyConfiguration::get_CanConnectDirectly()
|
|
452
|
+
@_property
|
|
453
|
+
def can_connect_directly(self) -> bool: ...
|
|
454
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Foundation.Uri> Windows.Networking.Connectivity.ProxyConfiguration::get_ProxyUris()
|
|
455
|
+
@_property
|
|
456
|
+
def proxy_uris(self) -> typing.Sequence[windows_foundation.Uri]: ...
|
|
457
|
+
|
|
458
|
+
@typing.final
|
|
459
|
+
class RoutePolicy(winrt.system.Object):
|
|
460
|
+
def __new__(cls: typing.Type[Self], connection_profile: ConnectionProfile, host_name: windows_networking.HostName, type: windows_networking.DomainNameType) -> Self: ...
|
|
461
|
+
# Windows.Networking.Connectivity.ConnectionProfile Windows.Networking.Connectivity.RoutePolicy::get_ConnectionProfile()
|
|
462
|
+
@_property
|
|
463
|
+
def connection_profile(self) -> ConnectionProfile: ...
|
|
464
|
+
# Windows.Networking.HostName Windows.Networking.Connectivity.RoutePolicy::get_HostName()
|
|
465
|
+
@_property
|
|
466
|
+
def host_name(self) -> windows_networking.HostName: ...
|
|
467
|
+
# Windows.Networking.DomainNameType Windows.Networking.Connectivity.RoutePolicy::get_HostNameType()
|
|
468
|
+
@_property
|
|
469
|
+
def host_name_type(self) -> windows_networking.DomainNameType: ...
|
|
470
|
+
|
|
471
|
+
@typing.final
|
|
472
|
+
class WlanConnectionProfileDetails(winrt.system.Object):
|
|
473
|
+
# System.String Windows.Networking.Connectivity.WlanConnectionProfileDetails::GetConnectedSsid()
|
|
474
|
+
def get_connected_ssid(self) -> str: ...
|
|
475
|
+
|
|
476
|
+
@typing.final
|
|
477
|
+
class WwanConnectionProfileDetails(winrt.system.Object):
|
|
478
|
+
# Windows.Networking.Connectivity.WwanDataClass Windows.Networking.Connectivity.WwanConnectionProfileDetails::GetCurrentDataClass()
|
|
479
|
+
def get_current_data_class(self) -> WwanDataClass: ...
|
|
480
|
+
# Windows.Networking.Connectivity.WwanNetworkRegistrationState Windows.Networking.Connectivity.WwanConnectionProfileDetails::GetNetworkRegistrationState()
|
|
481
|
+
def get_network_registration_state(self) -> WwanNetworkRegistrationState: ...
|
|
482
|
+
# System.String Windows.Networking.Connectivity.WwanConnectionProfileDetails::get_AccessPointName()
|
|
483
|
+
@_property
|
|
484
|
+
def access_point_name(self) -> str: ...
|
|
485
|
+
# System.String Windows.Networking.Connectivity.WwanConnectionProfileDetails::get_HomeProviderId()
|
|
486
|
+
@_property
|
|
487
|
+
def home_provider_id(self) -> str: ...
|
|
488
|
+
# Windows.Networking.Connectivity.WwanNetworkIPKind Windows.Networking.Connectivity.WwanConnectionProfileDetails::get_IPKind()
|
|
489
|
+
@_property
|
|
490
|
+
def ip_kind(self) -> WwanNetworkIPKind: ...
|
|
491
|
+
# Windows.Foundation.Collections.IVectorView`1<System.Guid> Windows.Networking.Connectivity.WwanConnectionProfileDetails::get_PurposeGuids()
|
|
492
|
+
@_property
|
|
493
|
+
def purpose_guids(self) -> typing.Sequence[_uuid.UUID]: ...
|
|
494
|
+
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt._winrt_windows_networking_connectivity import (
|
|
9
|
+
NetworkUsageStates,
|
|
10
|
+
AttributedNetworkUsage,
|
|
11
|
+
CellularApnContext,
|
|
12
|
+
ConnectionCost,
|
|
13
|
+
ConnectionProfile,
|
|
14
|
+
ConnectionProfileFilter,
|
|
15
|
+
ConnectionSession,
|
|
16
|
+
ConnectivityInterval,
|
|
17
|
+
ConnectivityManager,
|
|
18
|
+
DataPlanStatus,
|
|
19
|
+
DataPlanUsage,
|
|
20
|
+
DataUsage,
|
|
21
|
+
IPInformation,
|
|
22
|
+
LanIdentifier,
|
|
23
|
+
LanIdentifierData,
|
|
24
|
+
NetworkAdapter,
|
|
25
|
+
NetworkInformation,
|
|
26
|
+
NetworkItem,
|
|
27
|
+
NetworkSecuritySettings,
|
|
28
|
+
NetworkStateChangeEventDetails,
|
|
29
|
+
NetworkUsage,
|
|
30
|
+
ProviderNetworkUsage,
|
|
31
|
+
ProxyConfiguration,
|
|
32
|
+
RoutePolicy,
|
|
33
|
+
WlanConnectionProfileDetails,
|
|
34
|
+
WwanConnectionProfileDetails,
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
__all__ = [
|
|
38
|
+
"CellularApnAuthenticationType",
|
|
39
|
+
"ConnectionProfileDeleteStatus",
|
|
40
|
+
"DataUsageGranularity",
|
|
41
|
+
"DomainAuthenticationKind",
|
|
42
|
+
"DomainConnectivityLevel",
|
|
43
|
+
"NetworkAuthenticationType",
|
|
44
|
+
"NetworkConnectivityLevel",
|
|
45
|
+
"NetworkCostType",
|
|
46
|
+
"NetworkEncryptionType",
|
|
47
|
+
"NetworkTypes",
|
|
48
|
+
"RoamingStates",
|
|
49
|
+
"TriStates",
|
|
50
|
+
"WwanDataClass",
|
|
51
|
+
"WwanNetworkIPKind",
|
|
52
|
+
"WwanNetworkRegistrationState",
|
|
53
|
+
"NetworkUsageStates",
|
|
54
|
+
"AttributedNetworkUsage",
|
|
55
|
+
"CellularApnContext",
|
|
56
|
+
"ConnectionCost",
|
|
57
|
+
"ConnectionProfile",
|
|
58
|
+
"ConnectionProfileFilter",
|
|
59
|
+
"ConnectionSession",
|
|
60
|
+
"ConnectivityInterval",
|
|
61
|
+
"ConnectivityManager",
|
|
62
|
+
"DataPlanStatus",
|
|
63
|
+
"DataPlanUsage",
|
|
64
|
+
"DataUsage",
|
|
65
|
+
"IPInformation",
|
|
66
|
+
"LanIdentifier",
|
|
67
|
+
"LanIdentifierData",
|
|
68
|
+
"NetworkAdapter",
|
|
69
|
+
"NetworkInformation",
|
|
70
|
+
"NetworkItem",
|
|
71
|
+
"NetworkSecuritySettings",
|
|
72
|
+
"NetworkStateChangeEventDetails",
|
|
73
|
+
"NetworkUsage",
|
|
74
|
+
"ProviderNetworkUsage",
|
|
75
|
+
"ProxyConfiguration",
|
|
76
|
+
"RoutePolicy",
|
|
77
|
+
"WlanConnectionProfileDetails",
|
|
78
|
+
"WwanConnectionProfileDetails",
|
|
79
|
+
"NetworkStatusChangedEventHandler",
|
|
80
|
+
]
|
|
81
|
+
|
|
82
|
+
class CellularApnAuthenticationType(enum.IntEnum):
|
|
83
|
+
NONE = 0
|
|
84
|
+
PAP = 1
|
|
85
|
+
CHAP = 2
|
|
86
|
+
MSCHAPV2 = 3
|
|
87
|
+
|
|
88
|
+
class ConnectionProfileDeleteStatus(enum.IntEnum):
|
|
89
|
+
SUCCESS = 0
|
|
90
|
+
DENIED_BY_USER = 1
|
|
91
|
+
DENIED_BY_SYSTEM = 2
|
|
92
|
+
UNKNOWN_ERROR = 3
|
|
93
|
+
|
|
94
|
+
class DataUsageGranularity(enum.IntEnum):
|
|
95
|
+
PER_MINUTE = 0
|
|
96
|
+
PER_HOUR = 1
|
|
97
|
+
PER_DAY = 2
|
|
98
|
+
TOTAL = 3
|
|
99
|
+
|
|
100
|
+
class DomainAuthenticationKind(enum.IntEnum):
|
|
101
|
+
NONE = 0
|
|
102
|
+
LDAP = 1
|
|
103
|
+
TLS = 2
|
|
104
|
+
|
|
105
|
+
class DomainConnectivityLevel(enum.IntEnum):
|
|
106
|
+
NONE = 0
|
|
107
|
+
UNAUTHENTICATED = 1
|
|
108
|
+
AUTHENTICATED = 2
|
|
109
|
+
|
|
110
|
+
class NetworkAuthenticationType(enum.IntEnum):
|
|
111
|
+
NONE = 0
|
|
112
|
+
UNKNOWN = 1
|
|
113
|
+
OPEN80211 = 2
|
|
114
|
+
SHARED_KEY80211 = 3
|
|
115
|
+
WPA = 4
|
|
116
|
+
WPA_PSK = 5
|
|
117
|
+
WPA_NONE = 6
|
|
118
|
+
RSNA = 7
|
|
119
|
+
RSNA_PSK = 8
|
|
120
|
+
IHV = 9
|
|
121
|
+
WPA3 = 10
|
|
122
|
+
WPA3_ENTERPRISE192_BITS = 10
|
|
123
|
+
WPA3_SAE = 11
|
|
124
|
+
OWE = 12
|
|
125
|
+
WPA3_ENTERPRISE = 13
|
|
126
|
+
|
|
127
|
+
class NetworkConnectivityLevel(enum.IntEnum):
|
|
128
|
+
NONE = 0
|
|
129
|
+
LOCAL_ACCESS = 1
|
|
130
|
+
CONSTRAINED_INTERNET_ACCESS = 2
|
|
131
|
+
INTERNET_ACCESS = 3
|
|
132
|
+
|
|
133
|
+
class NetworkCostType(enum.IntEnum):
|
|
134
|
+
UNKNOWN = 0
|
|
135
|
+
UNRESTRICTED = 1
|
|
136
|
+
FIXED = 2
|
|
137
|
+
VARIABLE = 3
|
|
138
|
+
|
|
139
|
+
class NetworkEncryptionType(enum.IntEnum):
|
|
140
|
+
NONE = 0
|
|
141
|
+
UNKNOWN = 1
|
|
142
|
+
WEP = 2
|
|
143
|
+
WEP40 = 3
|
|
144
|
+
WEP104 = 4
|
|
145
|
+
TKIP = 5
|
|
146
|
+
CCMP = 6
|
|
147
|
+
WPA_USE_GROUP = 7
|
|
148
|
+
RSN_USE_GROUP = 8
|
|
149
|
+
IHV = 9
|
|
150
|
+
GCMP = 10
|
|
151
|
+
GCMP256 = 11
|
|
152
|
+
|
|
153
|
+
class NetworkTypes(enum.IntFlag):
|
|
154
|
+
NONE = 0x0
|
|
155
|
+
INTERNET = 0x1
|
|
156
|
+
PRIVATE_NETWORK = 0x2
|
|
157
|
+
|
|
158
|
+
class RoamingStates(enum.IntFlag):
|
|
159
|
+
NONE = 0x0
|
|
160
|
+
NOT_ROAMING = 0x1
|
|
161
|
+
ROAMING = 0x2
|
|
162
|
+
|
|
163
|
+
class TriStates(enum.IntEnum):
|
|
164
|
+
DO_NOT_CARE = 0
|
|
165
|
+
NO = 1
|
|
166
|
+
YES = 2
|
|
167
|
+
|
|
168
|
+
class WwanDataClass(enum.IntFlag):
|
|
169
|
+
NONE = 0x0
|
|
170
|
+
GPRS = 0x1
|
|
171
|
+
EDGE = 0x2
|
|
172
|
+
UMTS = 0x4
|
|
173
|
+
HSDPA = 0x8
|
|
174
|
+
HSUPA = 0x10
|
|
175
|
+
LTE_ADVANCED = 0x20
|
|
176
|
+
NEW_RADIO_NON_STANDALONE = 0x40
|
|
177
|
+
NEW_RADIO_STANDALONE = 0x80
|
|
178
|
+
CDMA1X_RTT = 0x10000
|
|
179
|
+
CDMA1X_EVDO = 0x20000
|
|
180
|
+
CDMA1X_EVDO_REV_A = 0x40000
|
|
181
|
+
CDMA1X_EVDV = 0x80000
|
|
182
|
+
CDMA3X_RTT = 0x100000
|
|
183
|
+
CDMA1X_EVDO_REV_B = 0x200000
|
|
184
|
+
CDMA_UMB = 0x400000
|
|
185
|
+
CUSTOM = 0x80000000
|
|
186
|
+
|
|
187
|
+
class WwanNetworkIPKind(enum.IntEnum):
|
|
188
|
+
NONE = 0
|
|
189
|
+
IPV4 = 1
|
|
190
|
+
IPV6 = 2
|
|
191
|
+
IPV4V6 = 3
|
|
192
|
+
IPV4V6V4_XLAT = 4
|
|
193
|
+
|
|
194
|
+
class WwanNetworkRegistrationState(enum.IntEnum):
|
|
195
|
+
NONE = 0
|
|
196
|
+
DEREGISTERED = 1
|
|
197
|
+
SEARCHING = 2
|
|
198
|
+
HOME = 3
|
|
199
|
+
ROAMING = 4
|
|
200
|
+
PARTNER = 5
|
|
201
|
+
DENIED = 6
|
|
202
|
+
|
|
203
|
+
NetworkStatusChangedEventHandler = typing.Callable[[winrt.system.Object], None]
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Networking.Connectivity
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Networking[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.Networking.Connectivity
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Connectivity` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.networking.connectivity` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_networking_connectivity.cp314-win32.pyd,sha256=r2nfwIPu-LvL_aMyeKScXGX1IUoUBFsdeWUQnWNCy0s,449536
|
|
2
|
+
winrt/_winrt_windows_networking_connectivity.pyi,sha256=vkldZAk3qQBgKqfMIdQ7aSj7A_t_wg0Z3DuWWFUo7dc,33160
|
|
3
|
+
winrt/windows/networking/connectivity/__init__.py,sha256=rFUxuoFF4Que0lQF68b8iAKEDViQ756ek85JkO7o44Y,4356
|
|
4
|
+
winrt/windows/networking/connectivity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_networking_connectivity-3.2.1.dist-info/METADATA,sha256=n6I12DnmHZSfltPphz8I7M2I_n6eYwvVkbyC_IHZaOg,1311
|
|
6
|
+
winrt_windows_networking_connectivity-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_networking_connectivity-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_networking_connectivity-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|