Silverlight File Type Association

Is there a way to associate a file type (i.e. extension) with a Silverlight application that was installed as an application outside of the browser?

I would like to associate a specific file extension with my application and allow double-clicking on those files to open them in the silverlight application.

+2


source to share


2 answers


No, I don't think it is possible.

The only way to open files outside of isolated storage is using the OpenFileDialog, which must be initiated from within the Silverlight application.



Your application is unaware of the local filesystem. He only knows about the file that OpenFileDialog passed to him.

+3


source


Perhaps you can double-click the file to launch the application outside of the browser. However, this will not be used if you cannot access the file that was clicked and somehow access its contents. This kind of thing is intentionally designed from Silverlight.



So, the answer to your question is most likely yes, but it won't be very helpful.

+3


source







All Articles