Andrew Kalashnikov
Andrew Kalashnikov

Reputation: 3173

Silverlight. Get version of selected file

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?

Upvotes: 0

Views: 453

Answers (1)

Steve Wranovsky
Steve Wranovsky

Reputation: 5723

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.

Upvotes: 1

Related Questions