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
FileVer开发者_如何学CsionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
But how we can do it at SL?
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.
精彩评论