开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜