Import namespace
using System.IO;
Code
using System.IO; DriveInfo drive = new DriveInfo(@"C:\"); long space = drive.AvailableFreeSpace;
The programmer's notebook is a reference for programmers. Here you can find code snippet's for VB.Net, C# .Net, WPF and many more...
using System.IO;
using System.IO; DriveInfo drive = new DriveInfo(@"C:\"); long space = drive.AvailableFreeSpace;
0 comments:
Post a Comment