winrt-Windows.ApplicationModel.Store.LicenseManagement 4!10.0.28000.2705__py3-none-any.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/windows/applicationmodel/store/licensemanagement/__init__.py +14 -0
- winrt/windows/applicationmodel/store/licensemanagement/__init__.pyi +74 -0
- winrt/windows/applicationmodel/store/licensemanagement/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/store/licensemanagement/py.typed +0 -0
- winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/METADATA +48 -0
- winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"LicenseRefreshOption",
|
|
10
|
+
"LicenseManager",
|
|
11
|
+
"LicenseSatisfactionInfo",
|
|
12
|
+
"LicenseSatisfactionResult",
|
|
13
|
+
]
|
|
14
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
10
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
11
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
"LicenseRefreshOption",
|
|
15
|
+
"LicenseManager",
|
|
16
|
+
"LicenseSatisfactionInfo",
|
|
17
|
+
"LicenseSatisfactionResult",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
class LicenseRefreshOption(enum.IntEnum):
|
|
21
|
+
RUNNING_LICENSES = 0
|
|
22
|
+
ALL_LICENSES = 1
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class LicenseManager_Static(winrt.system.Object_Static):
|
|
26
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Store.LicenseManagement.LicenseManager::AddLicenseAsync(Windows.Storage.Streams.IBuffer)
|
|
27
|
+
def add_license_async(cls, license: winrt.system.ReadableBuffer, /) -> windows_foundation.IAsyncAction: ...
|
|
28
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult> Windows.ApplicationModel.Store.LicenseManagement.LicenseManager::GetSatisfactionInfosAsync(Windows.Foundation.Collections.IIterable`1<System.String>,Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
29
|
+
def get_satisfaction_infos_async(cls, content_ids: _cabc.Iterable[str], key_ids: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[LicenseSatisfactionResult]: ...
|
|
30
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.Store.LicenseManagement.LicenseManager::RefreshLicensesAsync(Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption)
|
|
31
|
+
def refresh_licenses_async(cls, refresh_option: LicenseRefreshOption, /) -> windows_foundation.IAsyncAction: ...
|
|
32
|
+
|
|
33
|
+
@typing.final
|
|
34
|
+
class LicenseManager(winrt.system.Object, metaclass=LicenseManager_Static):
|
|
35
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
36
|
+
"""A class of static members only, so there is nothing to create."""
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class LicenseSatisfactionInfo(winrt.system.Object):
|
|
40
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
41
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
42
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_IsSatisfied()
|
|
43
|
+
@_property
|
|
44
|
+
def is_satisfied(self) -> bool: ...
|
|
45
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedByDevice()
|
|
46
|
+
@_property
|
|
47
|
+
def satisfied_by_device(self) -> bool: ...
|
|
48
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedByInstallMedia()
|
|
49
|
+
@_property
|
|
50
|
+
def satisfied_by_install_media(self) -> bool: ...
|
|
51
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedByOpenLicense()
|
|
52
|
+
@_property
|
|
53
|
+
def satisfied_by_open_license(self) -> bool: ...
|
|
54
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedByPass()
|
|
55
|
+
@_property
|
|
56
|
+
def satisfied_by_pass(self) -> bool: ...
|
|
57
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedBySignedInUser()
|
|
58
|
+
@_property
|
|
59
|
+
def satisfied_by_signed_in_user(self) -> bool: ...
|
|
60
|
+
# System.Boolean Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo::get_SatisfiedByTrial()
|
|
61
|
+
@_property
|
|
62
|
+
def satisfied_by_trial(self) -> bool: ...
|
|
63
|
+
|
|
64
|
+
@typing.final
|
|
65
|
+
class LicenseSatisfactionResult(winrt.system.Object):
|
|
66
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
67
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
68
|
+
# Windows.Foundation.HResult Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult::get_ExtendedError()
|
|
69
|
+
@_property
|
|
70
|
+
def extended_error(self) -> windows_foundation.HResult: ...
|
|
71
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionInfo> Windows.ApplicationModel.Store.LicenseManagement.LicenseSatisfactionResult::get_LicenseSatisfactionInfos()
|
|
72
|
+
@_property
|
|
73
|
+
def license_satisfaction_infos(self) -> _cabc.Mapping[str, LicenseSatisfactionInfo]: ...
|
|
74
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Store.LicenseManagement
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel.Store.LicenseManagement namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-Extra: all
|
|
27
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
33
|
+
|
|
34
|
+
# winrt-Windows.ApplicationModel.Store.LicenseManagement
|
|
35
|
+
|
|
36
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Store.LicenseManagement` namespace.
|
|
37
|
+
|
|
38
|
+
This package provides the `winrt.windows.applicationmodel.store.licensemanagement` module.
|
|
39
|
+
|
|
40
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
41
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
pip install winrt-Windows.ApplicationModel.Store.LicenseManagement
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
48
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/store/licensemanagement/__init__.py,sha256=EolVT8-lMk97BjyH7Sd7e3-Fdi7eyUjkMnN9Em8ohHA,308
|
|
2
|
+
winrt/windows/applicationmodel/store/licensemanagement/__init__.pyi,sha256=ux98at5JxnhfnAP1QZy8Y7JSWV6QcIF29lNlcIakN_I,4315
|
|
3
|
+
winrt/windows/applicationmodel/store/licensemanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/store/licensemanagement/_table.pywinrt,sha256=8ukXJnzCLREdG6fAuYSb2XOG6zJcGZxByb_KNWto4m0,10280
|
|
5
|
+
winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/METADATA,sha256=cBAOEBeuHuTY31HSBCmJ6a1GFyt_1GM6OCjwmgn30oU,2246
|
|
6
|
+
winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/RECORD,,
|
winrt_windows_applicationmodel_store_licensemanagement-4!10.0.28000.2705.dist-info/licenses/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|