Barry Pryde
Barry Pryde

Reputation: 13

Xamarin File Storage

Question:

I know how to Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "SomeFile.txt");

But my question is when using emulator where does it store it or is it only in memory?

Thanks.

Upvotes: 0

Views: 48

Answers (1)

Jason
Jason

Reputation: 89082

on Android, files are stored in the file system within the emulator image. You can use adb to access the files.

on iOS, the emulator file system is mapped onto the MacOS file system. You can get the full file path in code and then just access the files from Terminal or Finder

Upvotes: 1

Related Questions