Hello,
Welcome to Microsoft Q&A!
First of all, UWP apps are running in the sandbox and it has limited file permissions. So some APIs in System.IO will be limited in UWP apps. Then UWP apps can access certain file system locations by default like application install directory, application data locations. Apps can also access additional locations through the file picker, or by declaring capabilities. For more information please refer to this document: File access permissions. This is why you got an access violation error in your app.
So you need to have the link files placed in some locations that UWP could access.
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.