Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IsolatedStorageFile.GetEnumerator() #18209

Closed
Tracked by #93172
JeremyKuhne opened this issue Aug 17, 2016 · 7 comments
Closed
Tracked by #93172

Add IsolatedStorageFile.GetEnumerator() #18209

JeremyKuhne opened this issue Aug 17, 2016 · 7 comments
Assignees
Milestone

Comments

@JeremyKuhne
Copy link
Member

IsolatedStorageFile.GetEnumerator() allows you to enumerate all stores for the current user.

How to: Enumerate Stores for Isolated Storage

@JeremyKuhne JeremyKuhne self-assigned this Aug 17, 2016
@JeremyKuhne
Copy link
Member Author

Subtask of #17629

@JeremyKuhne
Copy link
Member Author

Don't currently plan to implement this as it depends on serialization of System.Security objects.

@JeremyKuhne
Copy link
Member Author

@weshaggard When you iterate existing stores you need to expose IsolatedStorage.*Identity which is serialized/deserialized from disk. Not really plausible without Security related classes- not sure how we want to reflect that in NetStandard decisions.

@Petermarcu
Copy link
Member

Is this in netstandard 2.0 or a future milestone. We shouldn't have future and netstandard2.0 on any issues.

@weshaggard
Copy link
Member

@JeremyKuhne I would just have this return known stores, or empty. I don't think we need to worry about the full enumeration that we do on desktop.

@JeremyKuhne
Copy link
Member Author

@weshaggard I currently have it as PlatformNotSupported. There is no way to return known stores without serializing our identity types, which I didn't want to do as it would collide with desktop. I'm currently relying on the fact that desktop will serialize it's own identity for the given store- and we don't have access to those types.

@JeremyKuhne
Copy link
Member Author

dotnet/corefx#12641 to track making this return empty, closing the more complicated scenario pending user feedback.

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants