-
Notifications
You must be signed in to change notification settings - Fork 377
Open
Labels
area-Externalarea-NetworkingSupport for networking functionalitySupport for networking functionality
Description
Describe the bug
_watcher = ESimManager.TryCreateESimWatcher() alway return null but same code in UWP ,it run normal
Steps to reproduce the bug
` public sealed partial class MainWindow : Window
{
private Microsoft.UI.Windowing.AppWindow? _appWindow;
public MainWindow()
{
this.InitializeComponent();
MainPage_Loaded();
}
private void MainPage_Loaded()
{
Logger.Log("+++ MainPage_Loaded");
_context = SynchronizationContext.Current;
_watcher = ESimManager.TryCreateESimWatcher();
if (_watcher != null)
{
_watcher.Added += (s, ea) => { _eSims[ea.ESim.Eid] = ea.ESim; };
_watcher.EnumerationCompleted += EsimEnumerationCompleted;
_watcher.Start();
}
else
{
Logger.Log("cannot create eSIM watcher");
}
}`
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
1280103995, awrff and jantari
Metadata
Metadata
Assignees
Labels
area-Externalarea-NetworkingSupport for networking functionalitySupport for networking functionality