The following forum(s) have migrated to Microsoft Q&A (Preview): Developing Universal Windows apps!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
[UWP] MobileBroadbandModem - how to use SetIsPassthroughEnabledAsync? RRS feed

  • Question

  • Hi, 

    I would like to use passthrough mode of modem but when I tried to use  SetIsPassthroughEnabledAsync or GetIsPassthroughEnabledAsync I got the error Unspecified error (Excep_FromHResult 0x80004005).

    I'm working on windows 10 1709 build 16299.

    Is anybody could help me using this method?

    Does it exist special settings  for this method?

    Thanks!


    • Edited by valouflo Thursday, February 15, 2018 3:07 PM Tagging
    Wednesday, February 14, 2018 4:18 PM

All replies

  • Hi valouflo,

    Welcome to the Developing Universal Windows apps forum! Please utilize tagging when posting to this forum, thanks!

    This MobileBroadbandModem is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

    You can refer the official Mobile broadband sample.

    https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/MobileBroadband

    Besides, some Special-use capabilities also require a special company account for submission to the Store to use them (restricted capabilities that are only available to Microsoft and its partners).

    Best Regards,

    Yong Lu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, February 15, 2018 7:18 AM