DriveInfo Class

Posted by Asim Sajjad on Stack Overflow See other posts from Stack Overflow or by Asim Sajjad
Published on 2010-06-18T01:51:21Z Indexed on 2010/06/18 2:23 UTC
Read the original article Hit count: 312

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

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about silverlight-3.0