如何在ASP.Net中获取任何计算机的驱动器空间 [英] How to get drive space of any machine in ASP.Net
本文介绍了如何在ASP.Net中获取任何计算机的驱动器空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在ASP.Net中获得计算机的磁盘空间详细信息.我怎么得到这个.
我希望使用以下命令可以获取当前系统驱动器信息,但是我想获取其他系统驱动器信息
Hi,
I want to get disc space details of machine in ASP.Net. How can I get this.
Using following I hope we can get current system drive info, but I want to get other systems drive infos
Dim dvr As New DriveInfo("c:")
可以帮忙.
谢谢
Sreenath
Can any help.
Thanks
Sreenath
推荐答案
如果您正在谈论客户端计算机,则不能.
如果您正在谈论服务器网络上的其他计算机,则这些计算机必须共享您感兴趣的驱动器.
If you''re talking about a client machine, you can''t.
If you''re talking about other machines on the server''s network, those machines have to share the drives that you''re interested in.
^ ]
这篇关于如何在ASP.Net中获取任何计算机的驱动器空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文