I need to instantiate the ESim class to be able to use it for the purpose of profile handling.
I am trying to run the UWP application from Visual Studio 2022 and to instantiate ESimWatcher using ESimManager.TryCreateESimWatcher() method. This method returns NULL.
The device I am running the application on has an ESim component.
How can I get my application to have a valid instance of ESim class that I can use to call methods like GetProfiles() etc?
I need an actual example of how to instantiate the ESim object that I would use to call these methods.
And, please, do not point me to the documentation examples. They didn't help me much so far.
Thanks in advance for any assistance.