Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting drive information from a NAS
Message
De
22/09/2013 15:35:47
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
22/09/2013 14:08:13
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01583738
Message ID:
01583838
Vues:
38
>>I would think you should be able to get basic information such as total volume size, remaining free space, perhaps something like total size of a given folder and any subfolders. I
>think those are fundamental to SMB. Are you looking for something else?
>
>That is pretty much was I need but I did not find anything in those links that help in that direction.

I don't use .Net but I find it surprising this seems to be not trivial.

The links I've found in a quick Google imply you need to temporarily map a local drive letter to the share, then you can get information e.g. http://stackoverflow.com/questions/1799984/finding-out-total-and-free-disk-space-in-net
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform