在使用 PackageManager 是,出现System.UnauthorizedAccessException 问题。
Windows.Management.Deployment.PackageManager tt = new Windows.Management.Deployment.PackageManager();//运行时报错System.UnauthorizedAccessException
请问,遇到这样的问题如何处理。
让信任简单起来
看 http://msdn.microsoft.com/en-us/library/windows/apps/windows.management.deployment.packagemanager
Applies to: desktop apps only
Manages the software available to a user.
Important You can't use this class in a Windows Store app.
Bob Bao [MSFT] MSDN Community Support | Feedback to us