tags:

views:

18

answers:

1

Hello. Can u please me for getting version of selected (through openDialog) file at SilverLight3. For other kind app we can user

 FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");

But how we can do it at SL?

+1  A: 

Silverlight applications are really intended to run in a sandbox. As such, many .NET APIs related to accessing files are not included in the Silverlight framework.

If you're looking to get this information about assemblies that are part of your application, you can reference this post, otherwise I don't believe there's a way to do this.

Steve Wranovsky