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

Convert IFile to IStorageFile on WinRT #43

Open
dominik-weber opened this issue Jun 8, 2016 · 2 comments
Open

Convert IFile to IStorageFile on WinRT #43

dominik-weber opened this issue Jun 8, 2016 · 2 comments

Comments

@dominik-weber
Copy link

Is there a way to convert the IFile object back to IStorageFile?
I'm using new PCLStorage.WinRTFile(file) to create an IFile reference from a StorageFile, but I don't see a way of getting the wrapped object back. Have you considered providing a method for retrieval, eg. by casting to WinRTFile, or better yet, via an extension method?

@Almis90
Copy link

Almis90 commented Oct 6, 2016

Any update?

@jpc0001
Copy link

jpc0001 commented May 10, 2018

Old issue, but I was looking for the same thing. I ended up using the absolute path from IFile and passed that into GetFileFromPathAsync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants