0

I'm experiencing an issue while downloading an exe file from within an UWP App. The EXE cannot be run after downloading. When I download it via any browser, it works as expected. My research so far brought me to Alternate Data Streams. When I download the EXE via any browser, the file gets an ADS like My.EXE:Zone.Identifier:$DATA with ZoneId=3 and some additional stuff inside. When I download the same file from my UWP, it's also like My.EXE:Zone.Identifier:$DATA, but $DATA is empty with a size of 0 bytes like in the screenshot. enter image description here

Did anyone experience the same issue and found a solution? Any hint would be great.

EDIT[Code added]:

        private async void Download_Click(object sender, RoutedEventArgs e)
        {
            var uri = new Uri(resourceLoader.GetString("Link"));
            var success = await Windows.System.Launcher.LaunchUriAsync(uri);
        }
Mahobo
  • 105
  • 1
  • 16
  • What api you used to download file? Could you please provide us the code snippet you used? In addition, I suggest that you could create a new Blank app to test whether this error also occurs. – dear_vv Feb 26 '21 at 08:39
  • @AryaDing-MSFT, thanks for your answer. I added the code-part in my question. From my understanding there's nothing special on that Launcher, but I'm not a pro. – Mahobo Feb 26 '21 at 09:19

0 Answers0