Location:
Search - disksize
Search list
Description: 用vc编写的用来检测磁盘容量的程序,效率很快-vc used for the preparation of the detection procedures disk capacity, efficiency soon
Platform: |
Size: 27305 |
Author: 高原 |
Hits:
Description: DiskSize is a program to scan a local drive and display the results in a treeview and on a 3D pie chart. It uses only the .NET Framework and Windows API functions, no third party products.-DiskSize is a program to scan a local drive a nd display the results in a treeview and on a 3D pi e chart. It uses only the.NET Framework and Wind ows API functions, no third party products.
Platform: |
Size: 52655 |
Author: lfchen |
Hits:
Description: 这是一个检查磁盘大小容量的程序,采用vc编程
Platform: |
Size: 1169590 |
Author: 陈家辉 |
Hits:
Description: 此源码用来确定某个磁盘的使用情况,总容量,已用容量,剩余容量一目了然
Platform: |
Size: 25653 |
Author: 王佩红 |
Hits:
Description: 这个是用VC++开发的一个磁盘容量检查工具,具有一定的通用性,计算方法比较先进。
Platform: |
Size: 27525 |
Author: 哈明国 |
Hits:
Description: 用vc编写的用来检测磁盘容量的程序,效率很快-vc used for the preparation of the detection procedures disk capacity, efficiency soon
Platform: |
Size: 26624 |
Author: 高原 |
Hits:
Description: DiskSize is a program to scan a local drive and display the results in a treeview and on a 3D pie chart. It uses only the .NET Framework and Windows API functions, no third party products.-DiskSize is a program to scan a local drive a nd display the results in a treeview and on a 3D pi e chart. It uses only the.NET Framework and Wind ows API functions, no third party products.
Platform: |
Size: 52224 |
Author: lfchen |
Hits:
Description: 这是一个检查磁盘大小容量的程序,采用vc编程-This is a check disk the size of the capacity of the procedure, using vc Programming
Platform: |
Size: 1169408 |
Author: 陈家辉 |
Hits:
Description: 此源码用来确定某个磁盘的使用情况,总容量,已用容量,剩余容量一目了然-This source of a disk used to determine the use of the total capacity has been used capacity, the remaining capacity at a glance
Platform: |
Size: 322560 |
Author: 王佩红 |
Hits:
Description: 这个是用VC++开发的一个磁盘容量检查工具,具有一定的通用性,计算方法比较先进。-This is VC++ Developed a disk capacity check tool, has a certain versatility, more advanced calculation methods.
Platform: |
Size: 27648 |
Author: 哈明国 |
Hits:
Description: its an project which will give full details of each and every file in an directory, and as well as of the directory-its an project which will give full details of each and every file in an directory, and as well as of the directory...
Platform: |
Size: 52224 |
Author: vadi |
Hits:
Description: 获取当前文件夹 GetCurrentDir
设置当前文件夹 SetCurrentDir ChDir SetCurrentDirectory
获取指定驱动器的当前路径名 GetDir
文件改名 RenameFile
建立文件夹 CreateDir CreateDirectory ForceDirectories
删除空文件夹 RemoveDir RemoveDirectory
建立新文件 FileCreate
获取当前文件的版本号 GetFileVersion
获取磁盘空间 DiskSize DiskFree
搜索文件 FindFirst FindNext FindClose
读取与设置文件属性 FileGetAttr FileSetAttr
获取文件的创建时间 FileAge FileDateToDateTime-获取当前文件夹 GetCurrentDir
设置当前文件夹 SetCurrentDir ChDir SetCurrentDirectory
获取指定驱动器的当前路径名 GetDir
文件改名 RenameFile
建立文件夹 CreateDir CreateDirectory ForceDirectories
删除空文件夹 RemoveDir RemoveDirectory
建立新文件 FileCreate
获取当前文件的版本号 GetFileVersion
获取磁盘空间 DiskSize DiskFree
搜索文件 FindFirst FindNext FindClose
读取与设置文件属性 FileGetAttr FileSetAttr
获取文件的创建时间 FileAge FileDateToDateTime
Platform: |
Size: 2048 |
Author: vivi |
Hits:
Description: 取得磁碟C和磁碟D的可用容量和总容量大小-Available capacity for drive C and drive D and the total size
Platform: |
Size: 901120 |
Author: jacob |
Hits:
Description: 此源码用来确定某个磁盘的使用情况,总容量,已用容量,剩余容量一目了然-This source is used to determine the use of a disk with a total capacity, used capacity, remaining capacity at a glance
Platform: |
Size: 25600 |
Author: 宋江 |
Hits:
Description: Usefull functions to get Disk Size in visual basic 6.0
Platform: |
Size: 1024 |
Author: freshmeat |
Hits:
Description: 源码包含一个读取ISO文件和虚拟磁盘文件(VHD, VDI, XVA, VMDK, etc)的类和完整的调用示例。
对于ISO、UDF、FAT和NTFS的支持已经非常完善。支持VHD, XVA, VMDK 和VDI格式的读写与注册。
类库中还包含一个简单的iSCSI启动器,可以通过iSCSI和一个NFS客户端实现对磁盘的访问。
这里有几段简单的示例代码,可以看出来使用还是非常方便的:
新建一个ISO文件:
CDBuilder builder = new CDBuilder();
builder.UseJoliet = true;
builder.VolumeIdentifier = "A_SAMPLE_DISK";
builder.AddFile(@"Folder\Hello.txt", Encoding.ASCII.GetBytes("Hello World!"));
builder.Build(@"C:\temp\sample.iso");
你可以通过流或者文件的方式来进行ISO的操作。
从ISO文件中提取一个文件:
using (FileStream isoStream = File.Open(@"C:\temp\sample.iso"))
{
CDReader cd = new CDReader(isoStream, true);
Stream fileStream = cd.OpenFile(@"Folder\Hello.txt", FileMode.Open);
// Use fileStream...
}
同样,你也可以浏览ISO内部包含的目录或者作为启动盘。
新建一个虚拟磁盘:
long diskSize = 30 * 1024 * 1024; //30MB
using (Stream vhdStream = File.Create(@"C:\TEMP\mydisk.vhd"))
{
Disk disk = Disk.InitializeDynamic(vhdStream, diskSize);
BiosPartitionTable.Initialize(disk, WellKnownPartitionType.WindowsFat);
using (FatFileSystem fs = FatFileSystem.FormatPartition(disk, 0, null))
{
fs.CreateDirectory(@"TestDir\CHILD");
// do other things with the file system...
}
}
新建一个虚拟软盘:
using (FileStream fs = File.Create(@"myfloppy.vfd"))
{
using (FatFileSystem floppy = FatFileSystem.FormatFloppy(fs, FloppyDiskType.HighDensity, "MY FLOPPY "))
{
using (Stream s = floppy.OpenFile("foo.txt", FileMode.Create))
{
// Use stream...
}
}
}
也可以作为启动软盘使用。
Platform: |
Size: 438282 |
Author: twklzw |
Hits: