How to save an audio file recorded using hololens to the local app folder?

Annamalai Gnanapoongkothai 1 Reputation point
2023-01-17T04:38:24.23+00:00

AccessDeniedError

Hello, I face an UnauthorisedAccessException error while trying to save an audio wav file to the local app folder, recorded using the hololens, using the Application.persistentDataPath. I get the Access denied to U:\ error. I have enabled the restricted capability for enterprise authentication also. But it does not seem to resolve the issue. Can you guide me on how to get this working? I understand that the filepicker api is used to save the files using the user interaction. Is there a way to use it to save the files programmatically? Thanks in advance!

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
406 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.