winrt-Windows.Networking.Connectivity 2.0.0b1__cp39-cp39-win_arm64.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.
@@ -0,0 +1,375 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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
13
+ import winrt.windows.foundation.collections
14
+ import winrt.windows.networking
15
+ import winrt.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
+ class NetworkUsageStates:
23
+ roaming: TriStates
24
+ shared: TriStates
25
+ def __init__(self, roaming: TriStates, shared: TriStates) -> None: ...
26
+
27
+ class AttributedNetworkUsage(winrt.system.Object):
28
+ @staticmethod
29
+ def _from(obj: winrt.system.Object, /) -> AttributedNetworkUsage: ...
30
+ @_property
31
+ def attribution_id(self) -> str: ...
32
+ @_property
33
+ def attribution_name(self) -> str: ...
34
+ @_property
35
+ def attribution_thumbnail(self) -> typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference]: ...
36
+ @_property
37
+ def bytes_received(self) -> winrt.system.UInt64: ...
38
+ @_property
39
+ def bytes_sent(self) -> winrt.system.UInt64: ...
40
+
41
+ class CellularApnContext(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> CellularApnContext: ...
44
+ def __new__(cls: typing.Type[CellularApnContext]) -> CellularApnContext:...
45
+ @_property
46
+ def user_name(self) -> str: ...
47
+ @user_name.setter
48
+ def user_name(self, value: str) -> None: ...
49
+ @_property
50
+ def provider_id(self) -> str: ...
51
+ @provider_id.setter
52
+ def provider_id(self, value: str) -> None: ...
53
+ @_property
54
+ def password(self) -> str: ...
55
+ @password.setter
56
+ def password(self, value: str) -> None: ...
57
+ @_property
58
+ def is_compression_enabled(self) -> bool: ...
59
+ @is_compression_enabled.setter
60
+ def is_compression_enabled(self, value: bool) -> None: ...
61
+ @_property
62
+ def authentication_type(self) -> CellularApnAuthenticationType: ...
63
+ @authentication_type.setter
64
+ def authentication_type(self, value: CellularApnAuthenticationType) -> None: ...
65
+ @_property
66
+ def access_point_name(self) -> str: ...
67
+ @access_point_name.setter
68
+ def access_point_name(self, value: str) -> None: ...
69
+ @_property
70
+ def profile_name(self) -> str: ...
71
+ @profile_name.setter
72
+ def profile_name(self, value: str) -> None: ...
73
+
74
+ class ConnectionCost(winrt.system.Object):
75
+ @staticmethod
76
+ def _from(obj: winrt.system.Object, /) -> ConnectionCost: ...
77
+ @_property
78
+ def approaching_data_limit(self) -> bool: ...
79
+ @_property
80
+ def network_cost_type(self) -> NetworkCostType: ...
81
+ @_property
82
+ def over_data_limit(self) -> bool: ...
83
+ @_property
84
+ def roaming(self) -> bool: ...
85
+ @_property
86
+ def background_data_usage_restricted(self) -> bool: ...
87
+
88
+ class ConnectionProfile(winrt.system.Object):
89
+ @staticmethod
90
+ def _from(obj: winrt.system.Object, /) -> ConnectionProfile: ...
91
+ def get_attributed_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: NetworkUsageStates, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[AttributedNetworkUsage]]: ...
92
+ def get_connection_cost(self) -> typing.Optional[ConnectionCost]: ...
93
+ def get_connectivity_intervals_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: NetworkUsageStates, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[ConnectivityInterval]]: ...
94
+ def get_data_plan_status(self) -> typing.Optional[DataPlanStatus]: ...
95
+ def get_domain_connectivity_level(self) -> DomainConnectivityLevel: ...
96
+ @typing.overload
97
+ def get_local_usage(self, start_time: datetime.datetime, end_time: datetime.datetime, /) -> typing.Optional[DataUsage]: ...
98
+ @typing.overload
99
+ def get_local_usage(self, start_time: datetime.datetime, end_time: datetime.datetime, states: RoamingStates, /) -> typing.Optional[DataUsage]: ...
100
+ def get_network_connectivity_level(self) -> NetworkConnectivityLevel: ...
101
+ def get_network_names(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
102
+ def get_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, granularity: DataUsageGranularity, states: NetworkUsageStates, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[NetworkUsage]]: ...
103
+ def get_provider_network_usage_async(self, start_time: datetime.datetime, end_time: datetime.datetime, states: NetworkUsageStates, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[ProviderNetworkUsage]]: ...
104
+ def get_signal_bars(self) -> typing.Optional[typing.Optional[winrt.system.UInt8]]: ...
105
+ def is_domain_authenticated_by(self, kind: DomainAuthenticationKind, /) -> bool: ...
106
+ def try_delete_async(self) -> winrt.windows.foundation.IAsyncOperation[ConnectionProfileDeleteStatus]: ...
107
+ @_property
108
+ def network_adapter(self) -> typing.Optional[NetworkAdapter]: ...
109
+ @_property
110
+ def network_security_settings(self) -> typing.Optional[NetworkSecuritySettings]: ...
111
+ @_property
112
+ def profile_name(self) -> str: ...
113
+ @_property
114
+ def is_wlan_connection_profile(self) -> bool: ...
115
+ @_property
116
+ def is_wwan_connection_profile(self) -> bool: ...
117
+ @_property
118
+ def service_provider_guid(self) -> typing.Optional[typing.Optional[_uuid.UUID]]: ...
119
+ @_property
120
+ def wlan_connection_profile_details(self) -> typing.Optional[WlanConnectionProfileDetails]: ...
121
+ @_property
122
+ def wwan_connection_profile_details(self) -> typing.Optional[WwanConnectionProfileDetails]: ...
123
+ @_property
124
+ def can_delete(self) -> bool: ...
125
+
126
+ class ConnectionProfileFilter(winrt.system.Object):
127
+ @staticmethod
128
+ def _from(obj: winrt.system.Object, /) -> ConnectionProfileFilter: ...
129
+ def __new__(cls: typing.Type[ConnectionProfileFilter]) -> ConnectionProfileFilter:...
130
+ @_property
131
+ def service_provider_guid(self) -> typing.Optional[typing.Optional[_uuid.UUID]]: ...
132
+ @service_provider_guid.setter
133
+ def service_provider_guid(self, value: typing.Optional[typing.Optional[_uuid.UUID]]) -> None: ...
134
+ @_property
135
+ def network_cost_type(self) -> NetworkCostType: ...
136
+ @network_cost_type.setter
137
+ def network_cost_type(self, value: NetworkCostType) -> None: ...
138
+ @_property
139
+ def is_wwan_connection_profile(self) -> bool: ...
140
+ @is_wwan_connection_profile.setter
141
+ def is_wwan_connection_profile(self, value: bool) -> None: ...
142
+ @_property
143
+ def is_wlan_connection_profile(self) -> bool: ...
144
+ @is_wlan_connection_profile.setter
145
+ def is_wlan_connection_profile(self, value: bool) -> None: ...
146
+ @_property
147
+ def is_connected(self) -> bool: ...
148
+ @is_connected.setter
149
+ def is_connected(self, value: bool) -> None: ...
150
+ @_property
151
+ def is_roaming(self) -> typing.Optional[typing.Optional[bool]]: ...
152
+ @is_roaming.setter
153
+ def is_roaming(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
154
+ @_property
155
+ def is_over_data_limit(self) -> typing.Optional[typing.Optional[bool]]: ...
156
+ @is_over_data_limit.setter
157
+ def is_over_data_limit(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
158
+ @_property
159
+ def is_background_data_usage_restricted(self) -> typing.Optional[typing.Optional[bool]]: ...
160
+ @is_background_data_usage_restricted.setter
161
+ def is_background_data_usage_restricted(self, value: typing.Optional[typing.Optional[bool]]) -> None: ...
162
+ @_property
163
+ def raw_data(self) -> typing.Optional[winrt.windows.storage.streams.IBuffer]: ...
164
+ @_property
165
+ def purpose_guid(self) -> typing.Optional[typing.Optional[_uuid.UUID]]: ...
166
+ @purpose_guid.setter
167
+ def purpose_guid(self, value: typing.Optional[typing.Optional[_uuid.UUID]]) -> None: ...
168
+
169
+ class ConnectionSession(winrt.system.Object):
170
+ def __enter__(self: Self) -> Self: ...
171
+ def __exit__(self, *args) -> None: ...
172
+ @staticmethod
173
+ def _from(obj: winrt.system.Object, /) -> ConnectionSession: ...
174
+ def close(self) -> None: ...
175
+ @_property
176
+ def connection_profile(self) -> typing.Optional[ConnectionProfile]: ...
177
+
178
+ class ConnectivityInterval(winrt.system.Object):
179
+ @staticmethod
180
+ def _from(obj: winrt.system.Object, /) -> ConnectivityInterval: ...
181
+ @_property
182
+ def connection_duration(self) -> datetime.timedelta: ...
183
+ @_property
184
+ def start_time(self) -> datetime.datetime: ...
185
+
186
+ class ConnectivityManager_Static(type):
187
+ def acquire_connection_async(cls, cellular_apn_context: typing.Optional[CellularApnContext], /) -> winrt.windows.foundation.IAsyncOperation[ConnectionSession]: ...
188
+ def add_http_route_policy(cls, route_policy: typing.Optional[RoutePolicy], /) -> None: ...
189
+ def remove_http_route_policy(cls, route_policy: typing.Optional[RoutePolicy], /) -> None: ...
190
+
191
+ class ConnectivityManager(winrt.system.Object, metaclass=ConnectivityManager_Static):
192
+ @staticmethod
193
+ def _from(obj: winrt.system.Object, /) -> ConnectivityManager: ...
194
+
195
+ class DataPlanStatus(winrt.system.Object):
196
+ @staticmethod
197
+ def _from(obj: winrt.system.Object, /) -> DataPlanStatus: ...
198
+ @_property
199
+ def data_limit_in_megabytes(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
200
+ @_property
201
+ def data_plan_usage(self) -> typing.Optional[DataPlanUsage]: ...
202
+ @_property
203
+ def inbound_bits_per_second(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
204
+ @_property
205
+ def max_transfer_size_in_megabytes(self) -> typing.Optional[typing.Optional[winrt.system.UInt32]]: ...
206
+ @_property
207
+ def next_billing_cycle(self) -> typing.Optional[typing.Optional[datetime.datetime]]: ...
208
+ @_property
209
+ def outbound_bits_per_second(self) -> typing.Optional[typing.Optional[winrt.system.UInt64]]: ...
210
+
211
+ class DataPlanUsage(winrt.system.Object):
212
+ @staticmethod
213
+ def _from(obj: winrt.system.Object, /) -> DataPlanUsage: ...
214
+ @_property
215
+ def last_sync_time(self) -> datetime.datetime: ...
216
+ @_property
217
+ def megabytes_used(self) -> winrt.system.UInt32: ...
218
+
219
+ class DataUsage(winrt.system.Object):
220
+ @staticmethod
221
+ def _from(obj: winrt.system.Object, /) -> DataUsage: ...
222
+ @_property
223
+ def bytes_received(self) -> winrt.system.UInt64: ...
224
+ @_property
225
+ def bytes_sent(self) -> winrt.system.UInt64: ...
226
+
227
+ class IPInformation(winrt.system.Object):
228
+ @staticmethod
229
+ def _from(obj: winrt.system.Object, /) -> IPInformation: ...
230
+ @_property
231
+ def network_adapter(self) -> typing.Optional[NetworkAdapter]: ...
232
+ @_property
233
+ def prefix_length(self) -> typing.Optional[typing.Optional[winrt.system.UInt8]]: ...
234
+
235
+ class LanIdentifier(winrt.system.Object):
236
+ @staticmethod
237
+ def _from(obj: winrt.system.Object, /) -> LanIdentifier: ...
238
+ @_property
239
+ def infrastructure_id(self) -> typing.Optional[LanIdentifierData]: ...
240
+ @_property
241
+ def network_adapter_id(self) -> _uuid.UUID: ...
242
+ @_property
243
+ def port_id(self) -> typing.Optional[LanIdentifierData]: ...
244
+
245
+ class LanIdentifierData(winrt.system.Object):
246
+ @staticmethod
247
+ def _from(obj: winrt.system.Object, /) -> LanIdentifierData: ...
248
+ @_property
249
+ def type(self) -> winrt.system.UInt32: ...
250
+ @_property
251
+ def value(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.system.UInt8]]: ...
252
+
253
+ class NetworkAdapter(winrt.system.Object):
254
+ @staticmethod
255
+ def _from(obj: winrt.system.Object, /) -> NetworkAdapter: ...
256
+ def get_connected_profile_async(self) -> winrt.windows.foundation.IAsyncOperation[ConnectionProfile]: ...
257
+ @_property
258
+ def iana_interface_type(self) -> winrt.system.UInt32: ...
259
+ @_property
260
+ def inbound_max_bits_per_second(self) -> winrt.system.UInt64: ...
261
+ @_property
262
+ def network_adapter_id(self) -> _uuid.UUID: ...
263
+ @_property
264
+ def network_item(self) -> typing.Optional[NetworkItem]: ...
265
+ @_property
266
+ def outbound_max_bits_per_second(self) -> winrt.system.UInt64: ...
267
+
268
+ class NetworkInformation_Static(type):
269
+ def find_connection_profiles_async(cls, p_profile_filter: typing.Optional[ConnectionProfileFilter], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[ConnectionProfile]]: ...
270
+ def get_connection_profiles(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ConnectionProfile]]: ...
271
+ def get_host_names(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.HostName]]: ...
272
+ def get_internet_connection_profile(cls) -> typing.Optional[ConnectionProfile]: ...
273
+ def get_lan_identifiers(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[LanIdentifier]]: ...
274
+ def get_proxy_configuration_async(cls, uri: typing.Optional[winrt.windows.foundation.Uri], /) -> winrt.windows.foundation.IAsyncOperation[ProxyConfiguration]: ...
275
+ def get_sorted_endpoint_pairs(cls, destination_list: typing.Iterable[winrt.windows.networking.EndpointPair], sort_options: winrt.windows.networking.HostNameSortOptions, /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.networking.EndpointPair]]: ...
276
+ def add_network_status_changed(cls, network_status_handler: typing.Optional[NetworkStatusChangedEventHandler], /) -> winrt.windows.foundation.EventRegistrationToken: ...
277
+ def remove_network_status_changed(cls, event_cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
278
+
279
+ class NetworkInformation(winrt.system.Object, metaclass=NetworkInformation_Static):
280
+ @staticmethod
281
+ def _from(obj: winrt.system.Object, /) -> NetworkInformation: ...
282
+
283
+ class NetworkItem(winrt.system.Object):
284
+ @staticmethod
285
+ def _from(obj: winrt.system.Object, /) -> NetworkItem: ...
286
+ def get_network_types(self) -> NetworkTypes: ...
287
+ @_property
288
+ def network_id(self) -> _uuid.UUID: ...
289
+
290
+ class NetworkSecuritySettings(winrt.system.Object):
291
+ @staticmethod
292
+ def _from(obj: winrt.system.Object, /) -> NetworkSecuritySettings: ...
293
+ @_property
294
+ def network_authentication_type(self) -> NetworkAuthenticationType: ...
295
+ @_property
296
+ def network_encryption_type(self) -> NetworkEncryptionType: ...
297
+
298
+ class NetworkStateChangeEventDetails(winrt.system.Object):
299
+ @staticmethod
300
+ def _from(obj: winrt.system.Object, /) -> NetworkStateChangeEventDetails: ...
301
+ @_property
302
+ def has_new_connection_cost(self) -> bool: ...
303
+ @_property
304
+ def has_new_domain_connectivity_level(self) -> bool: ...
305
+ @_property
306
+ def has_new_host_name_list(self) -> bool: ...
307
+ @_property
308
+ def has_new_internet_connection_profile(self) -> bool: ...
309
+ @_property
310
+ def has_new_network_connectivity_level(self) -> bool: ...
311
+ @_property
312
+ def has_new_wwan_registration_state(self) -> bool: ...
313
+ @_property
314
+ def has_new_tethering_client_count(self) -> bool: ...
315
+ @_property
316
+ def has_new_tethering_operational_state(self) -> bool: ...
317
+
318
+ class NetworkUsage(winrt.system.Object):
319
+ @staticmethod
320
+ def _from(obj: winrt.system.Object, /) -> NetworkUsage: ...
321
+ @_property
322
+ def bytes_received(self) -> winrt.system.UInt64: ...
323
+ @_property
324
+ def bytes_sent(self) -> winrt.system.UInt64: ...
325
+ @_property
326
+ def connection_duration(self) -> datetime.timedelta: ...
327
+
328
+ class ProviderNetworkUsage(winrt.system.Object):
329
+ @staticmethod
330
+ def _from(obj: winrt.system.Object, /) -> ProviderNetworkUsage: ...
331
+ @_property
332
+ def bytes_received(self) -> winrt.system.UInt64: ...
333
+ @_property
334
+ def bytes_sent(self) -> winrt.system.UInt64: ...
335
+ @_property
336
+ def provider_id(self) -> str: ...
337
+
338
+ class ProxyConfiguration(winrt.system.Object):
339
+ @staticmethod
340
+ def _from(obj: winrt.system.Object, /) -> ProxyConfiguration: ...
341
+ @_property
342
+ def can_connect_directly(self) -> bool: ...
343
+ @_property
344
+ def proxy_uris(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.foundation.Uri]]: ...
345
+
346
+ class RoutePolicy(winrt.system.Object):
347
+ @staticmethod
348
+ def _from(obj: winrt.system.Object, /) -> RoutePolicy: ...
349
+ def __new__(cls: typing.Type[RoutePolicy], connection_profile: typing.Optional[ConnectionProfile], host_name: typing.Optional[winrt.windows.networking.HostName], type: winrt.windows.networking.DomainNameType) -> RoutePolicy:...
350
+ @_property
351
+ def connection_profile(self) -> typing.Optional[ConnectionProfile]: ...
352
+ @_property
353
+ def host_name(self) -> typing.Optional[winrt.windows.networking.HostName]: ...
354
+ @_property
355
+ def host_name_type(self) -> winrt.windows.networking.DomainNameType: ...
356
+
357
+ class WlanConnectionProfileDetails(winrt.system.Object):
358
+ @staticmethod
359
+ def _from(obj: winrt.system.Object, /) -> WlanConnectionProfileDetails: ...
360
+ def get_connected_ssid(self) -> str: ...
361
+
362
+ class WwanConnectionProfileDetails(winrt.system.Object):
363
+ @staticmethod
364
+ def _from(obj: winrt.system.Object, /) -> WwanConnectionProfileDetails: ...
365
+ def get_current_data_class(self) -> WwanDataClass: ...
366
+ def get_network_registration_state(self) -> WwanNetworkRegistrationState: ...
367
+ @_property
368
+ def access_point_name(self) -> str: ...
369
+ @_property
370
+ def home_provider_id(self) -> str: ...
371
+ @_property
372
+ def i_p_kind(self) -> WwanNetworkIPKind: ...
373
+ @_property
374
+ def purpose_guids(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[_uuid.UUID]]: ...
375
+
@@ -0,0 +1,200 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt import _winrt_windows_networking_connectivity
9
+
10
+ __all__ = [
11
+ "CellularApnAuthenticationType",
12
+ "ConnectionProfileDeleteStatus",
13
+ "DataUsageGranularity",
14
+ "DomainAuthenticationKind",
15
+ "DomainConnectivityLevel",
16
+ "NetworkAuthenticationType",
17
+ "NetworkConnectivityLevel",
18
+ "NetworkCostType",
19
+ "NetworkEncryptionType",
20
+ "NetworkTypes",
21
+ "RoamingStates",
22
+ "TriStates",
23
+ "WwanDataClass",
24
+ "WwanNetworkIPKind",
25
+ "WwanNetworkRegistrationState",
26
+ "NetworkUsageStates",
27
+ "AttributedNetworkUsage",
28
+ "CellularApnContext",
29
+ "ConnectionCost",
30
+ "ConnectionProfile",
31
+ "ConnectionProfileFilter",
32
+ "ConnectionSession",
33
+ "ConnectivityInterval",
34
+ "ConnectivityManager",
35
+ "DataPlanStatus",
36
+ "DataPlanUsage",
37
+ "DataUsage",
38
+ "IPInformation",
39
+ "LanIdentifier",
40
+ "LanIdentifierData",
41
+ "NetworkAdapter",
42
+ "NetworkInformation",
43
+ "NetworkItem",
44
+ "NetworkSecuritySettings",
45
+ "NetworkStateChangeEventDetails",
46
+ "NetworkUsage",
47
+ "ProviderNetworkUsage",
48
+ "ProxyConfiguration",
49
+ "RoutePolicy",
50
+ "WlanConnectionProfileDetails",
51
+ "WwanConnectionProfileDetails",
52
+ "NetworkStatusChangedEventHandler",
53
+ ]
54
+
55
+ class CellularApnAuthenticationType(enum.IntEnum):
56
+ NONE = 0
57
+ PAP = 1
58
+ CHAP = 2
59
+ MSCHAPV2 = 3
60
+
61
+ class ConnectionProfileDeleteStatus(enum.IntEnum):
62
+ SUCCESS = 0
63
+ DENIED_BY_USER = 1
64
+ DENIED_BY_SYSTEM = 2
65
+ UNKNOWN_ERROR = 3
66
+
67
+ class DataUsageGranularity(enum.IntEnum):
68
+ PER_MINUTE = 0
69
+ PER_HOUR = 1
70
+ PER_DAY = 2
71
+ TOTAL = 3
72
+
73
+ class DomainAuthenticationKind(enum.IntEnum):
74
+ NONE = 0
75
+ LDAP = 1
76
+ TLS = 2
77
+
78
+ class DomainConnectivityLevel(enum.IntEnum):
79
+ NONE = 0
80
+ UNAUTHENTICATED = 1
81
+ AUTHENTICATED = 2
82
+
83
+ class NetworkAuthenticationType(enum.IntEnum):
84
+ NONE = 0
85
+ UNKNOWN = 1
86
+ OPEN80211 = 2
87
+ SHARED_KEY80211 = 3
88
+ WPA = 4
89
+ WPA_PSK = 5
90
+ WPA_NONE = 6
91
+ RSNA = 7
92
+ RSNA_PSK = 8
93
+ IHV = 9
94
+ WPA3 = 10
95
+ WPA3_ENTERPRISE192_BITS = 10
96
+ WPA3_SAE = 11
97
+ OWE = 12
98
+ WPA3_ENTERPRISE = 13
99
+
100
+ class NetworkConnectivityLevel(enum.IntEnum):
101
+ NONE = 0
102
+ LOCAL_ACCESS = 1
103
+ CONSTRAINED_INTERNET_ACCESS = 2
104
+ INTERNET_ACCESS = 3
105
+
106
+ class NetworkCostType(enum.IntEnum):
107
+ UNKNOWN = 0
108
+ UNRESTRICTED = 1
109
+ FIXED = 2
110
+ VARIABLE = 3
111
+
112
+ class NetworkEncryptionType(enum.IntEnum):
113
+ NONE = 0
114
+ UNKNOWN = 1
115
+ WEP = 2
116
+ WEP40 = 3
117
+ WEP104 = 4
118
+ TKIP = 5
119
+ CCMP = 6
120
+ WPA_USE_GROUP = 7
121
+ RSN_USE_GROUP = 8
122
+ IHV = 9
123
+ GCMP = 10
124
+ GCMP256 = 11
125
+
126
+ class NetworkTypes(enum.IntFlag):
127
+ NONE = 0
128
+ INTERNET = 0x1
129
+ PRIVATE_NETWORK = 0x2
130
+
131
+ class RoamingStates(enum.IntFlag):
132
+ NONE = 0
133
+ NOT_ROAMING = 0x1
134
+ ROAMING = 0x2
135
+
136
+ class TriStates(enum.IntEnum):
137
+ DO_NOT_CARE = 0
138
+ NO = 1
139
+ YES = 2
140
+
141
+ class WwanDataClass(enum.IntFlag):
142
+ NONE = 0
143
+ GPRS = 0x1
144
+ EDGE = 0x2
145
+ UMTS = 0x4
146
+ HSDPA = 0x8
147
+ HSUPA = 0x10
148
+ LTE_ADVANCED = 0x20
149
+ CDMA1X_RTT = 0x10000
150
+ CDMA1X_EVDO = 0x20000
151
+ CDMA1X_EVDO_REV_A = 0x40000
152
+ CDMA1X_EVDV = 0x80000
153
+ CDMA3X_RTT = 0x100000
154
+ CDMA1X_EVDO_REV_B = 0x200000
155
+ CDMA_UMB = 0x400000
156
+ CUSTOM = 0x80000000
157
+
158
+ class WwanNetworkIPKind(enum.IntEnum):
159
+ NONE = 0
160
+ IPV4 = 1
161
+ IPV6 = 2
162
+ IPV4V6 = 3
163
+ IPV4V6V4_XLAT = 4
164
+
165
+ class WwanNetworkRegistrationState(enum.IntEnum):
166
+ NONE = 0
167
+ DEREGISTERED = 1
168
+ SEARCHING = 2
169
+ HOME = 3
170
+ ROAMING = 4
171
+ PARTNER = 5
172
+ DENIED = 6
173
+
174
+ NetworkUsageStates = _winrt_windows_networking_connectivity.NetworkUsageStates
175
+ AttributedNetworkUsage = _winrt_windows_networking_connectivity.AttributedNetworkUsage
176
+ CellularApnContext = _winrt_windows_networking_connectivity.CellularApnContext
177
+ ConnectionCost = _winrt_windows_networking_connectivity.ConnectionCost
178
+ ConnectionProfile = _winrt_windows_networking_connectivity.ConnectionProfile
179
+ ConnectionProfileFilter = _winrt_windows_networking_connectivity.ConnectionProfileFilter
180
+ ConnectionSession = _winrt_windows_networking_connectivity.ConnectionSession
181
+ ConnectivityInterval = _winrt_windows_networking_connectivity.ConnectivityInterval
182
+ ConnectivityManager = _winrt_windows_networking_connectivity.ConnectivityManager
183
+ DataPlanStatus = _winrt_windows_networking_connectivity.DataPlanStatus
184
+ DataPlanUsage = _winrt_windows_networking_connectivity.DataPlanUsage
185
+ DataUsage = _winrt_windows_networking_connectivity.DataUsage
186
+ IPInformation = _winrt_windows_networking_connectivity.IPInformation
187
+ LanIdentifier = _winrt_windows_networking_connectivity.LanIdentifier
188
+ LanIdentifierData = _winrt_windows_networking_connectivity.LanIdentifierData
189
+ NetworkAdapter = _winrt_windows_networking_connectivity.NetworkAdapter
190
+ NetworkInformation = _winrt_windows_networking_connectivity.NetworkInformation
191
+ NetworkItem = _winrt_windows_networking_connectivity.NetworkItem
192
+ NetworkSecuritySettings = _winrt_windows_networking_connectivity.NetworkSecuritySettings
193
+ NetworkStateChangeEventDetails = _winrt_windows_networking_connectivity.NetworkStateChangeEventDetails
194
+ NetworkUsage = _winrt_windows_networking_connectivity.NetworkUsage
195
+ ProviderNetworkUsage = _winrt_windows_networking_connectivity.ProviderNetworkUsage
196
+ ProxyConfiguration = _winrt_windows_networking_connectivity.ProxyConfiguration
197
+ RoutePolicy = _winrt_windows_networking_connectivity.RoutePolicy
198
+ WlanConnectionProfileDetails = _winrt_windows_networking_connectivity.WlanConnectionProfileDetails
199
+ WwanConnectionProfileDetails = _winrt_windows_networking_connectivity.WwanConnectionProfileDetails
200
+ NetworkStatusChangedEventHandler = typing.Callable[[typing.Optional[winrt.system.Object]], None]
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.Networking.Connectivity
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Networking[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.Networking.Connectivity
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.Networking.Connectivity` namespace.
26
+
27
+ This package provides the `winrt.windows.networking.connectivity` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_networking_connectivity.cp39-win_arm64.pyd,sha256=EN3pvGVKCEYjSmCzeUpiP9CBvoOTrN7vOTcAMngcuNg,671744
2
+ winrt/_winrt_windows_networking_connectivity.pyi,sha256=CrFZVrr-g6rG2YNsvtLWgYtBWwrAdZV_zZ6Wi3Fq9i0,17938
3
+ winrt/windows/networking/connectivity/__init__.py,sha256=zVxbRQr491Qp4tUE66_KO_KJD6AlQ6r7vA7y_UaSZmI,5724
4
+ winrt_Windows.Networking.Connectivity-2.0.0b1.dist-info/METADATA,sha256=EZoCYxtw6u4A-sqCd88A4umKw5JDcTxzmDyTTKTV468,1283
5
+ winrt_Windows.Networking.Connectivity-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.Networking.Connectivity-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.Networking.Connectivity-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+