-api-id | -api-type |
---|---|
M:Windows.Networking.NetworkOperators.ESimManager.TryCreateESimWatcher |
winrt method |
Attempts to create a new instance of the ESimWatcher class.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.
A new instance of the ESimWatcher class, or null
if the caller's user security identifier (SID) is not authorized by the Windows service that handles eSIM-related operation requests.
Microsoft.eSIMManagement_8wekyb3d8bbwe