开发者

DriveInfo Class

How to I execute the following code in silverlight 3.

    DriveInfo[] drives = DriveInfo.GetDrives();        
    foreach (DriveInfo drive in drives)
    {
       if (drive.IsReady)
       { }   
    }
开发者_运维技巧

As it is giving me error and when I try to add the reference for the system.IO I can't fine any reference for that Dll.Thanks in advance


Silverlight is executing in the browser, and can execute on platforms as diverse as Windows, OSX, Linux, etc.

I'd be really surprised is something as low-level as drive info would operate as it would on a Windows native forms app.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜