Share via

In WPF PhoneLineTransportdevice.RequestAccessAsync() always throw denied by system.

鹤 余 5 Reputation points
2023-08-04T07:42:39.62+00:00

I want to create an App like to myphone on WPF.So I referenced winui3 in the wpf project to use Windows.ApplicationModel.Calls.But when I use PhoneLineTransportdevice.RequestAccessAsync() ,it throw denied by system and I can't register the app.

Developer technologies | Windows Presentation Foundation
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other

A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.