TakeSnapshot doesn't work or needs better documentation?
Hello, I have been unable to get TakeSnapshot to work in my basic UWP test app. It always returns TRUE, but never saves a file. I have tried numerous formats for the path string. The UWP app is enabled for saving to the "Pictures" library and I have verified that the app can save there. Any help would be appreciated. I tried to attach my Basic VLC Visual Studio project in zip form, but it is 32MiB.
Thanks, Tony
private void Snapshot_Click(object sender, RoutedEventArgs e) {
Returned.Text = "";
//var pathstring = @"C:\Users\groov\Pictures\";
var pathstring = snapPath.Text;
var bb=_mediaPlayer.TakeSnapshot(0,pathstring,0,0);
Thread.Sleep(1000);
Returned.Text = "Returned: " + bb.ToString();
}