top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In WindowsPhone how toDisable the Screenshot Functionality using c#?

+1 vote
157 views
In WindowsPhone how toDisable the Screenshot Functionality using c#?
posted Mar 19, 2015 by Saravanan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

+3 votes
 
Best answer

In Windows Phone 8.1, anyone can take a screenshot by pressing the power button and the volume-up key at the same time. A customer was concerned about privacy in their enterprise app and asked me if they could disable this functionality for Windows Phone 8.1 (both WinRT and Silverlight apps).

WindowsPhone 8.1:

public MainPage()
{
 this.InitializeComponent();

if (this.CanSetScreenCaptureEnabled())
  {
    this.SetScreenCaptureEnabled(false);
  }
}

WindowsPhone store 8.1:

public MainPage()
{
this.InitializeComponent();

ApplicationView.GetForCurrentView().IsScreenCaptureEnabled = false; 

}
answer Mar 20, 2015 by Jdk
0 votes

In Windows Phone 8.1, anyone can take a screenshot by pressing the power button and the volume-up key at the same time. A customer was concerned their enterprise app and asked me if they could disable this functionality for Windows Phone 8.1

answer Jun 17, 2015 by Shiv Shukla
...