TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
SilverLight: DriveInfo ; Using System.IO;
Aug 13 2011 9:36 PM
I cant get access to "DriveInfo". I added "Using System.IO;"
Do you have any clue why I cant get access to "DriveInfo"
public long GetTotalFreeSpace(string driveName)
{
foreach (DriveInfo drive in DriveInfo.GetDrives())
{
if (drive.IsReady && drive.Name == driveName)
{
return label.TotalFreeSpace;
}
}
return -1;
}
Reply
Answers (
9
)
Silver Error Provider
How to read and write data from registry?