When trying to get text from clipboard using Clipboard.GetText method in a Windows Phone app, it always throws a SecurityException (intended behaviour).
Is there any hack or workaround for this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you meant to link to this MSDN page where it says:
There’s a blog post here on how a developer ‘faked’ copy/paste within an app and shared it across apps. There are couple of limitations with the method and if you want to share it across apps then all the apps have to support this method. If you want to be able to write to a clipboard and use it anywhere on the phone, then it’s not possible. If it was possible, throwing the
SecurityExceptionabove would be pointless and any hacked workaround would most likely result in rejection of the app from the Marketplace.