1

Hi, I am trying to navigate up the folder tree to a file using siteoforigin. I can get to the subfolders but how do I navigate up one?

Here is the code that I have tried

StreamResourceInfo info = Application.GetRemoteStream(new Uri("pack://siteoforigin:,,,/../Settings.xml", UriKind.RelativeOrAbsolute));

But it doesn't work.

Marko
  • 20,385
  • 13
  • 48
  • 64
TheColin
  • 11
  • 3

1 Answers1

2

You cannot. Pack Uri's can only access files within the folder that the XBAP is located and lower. No way around it, unfortunately.