开发者

Silverlight. Get version of selected file

开发者 https://www.devze.com 2023-01-04 08:44 出处:网络
Can u please me for getting version of selected (through openDialog) file at SilverLight3. For other kind app we can user

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

精彩评论

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