Questions tagged [driveinfo]

51 questions
0
votes
3 answers

Events and the DriveInfo class

I have a class that has a property of type DriveInfo, which has a boolean property of IsReady as you might already know. This is a value representing when the drive is "ready" - for me, that means that there's a CD in the drive, as I've chosen only…
Nick Bull
  • 9,518
  • 6
  • 36
  • 58
0
votes
2 answers

Determine if 2 UNC paths on the same remote machine are on the same volume

I am working on a service that has special conditions if the two UNC paths given to it reside on the same volume. However I have yet to figure out a way of determining this since the C# DriveInfo class does not work with UNC…
user666302
0
votes
1 answer

Drive info based on server name selection from combobox

C#: Cascading combobox I have ComboBox that loaded with three servers name. I want to retrieve drive info on each server based on user's option of the server name in the combobox. I have another combobox that should be populated with the drive on…
Zeze
  • 11
  • 1
  • 5
0
votes
2 answers

How to convert DriveInfo[] to List C#

hi I want to convert DriveInfo type list to string type list with using loop.In my code I am trying to use ToList() but it's not exist. actually I want all the paths of logical drives in string list without using loop. I know manually it's possible…
0
votes
2 answers

Enumerating disconnected network drives - NTFS drive formats

I came across this excellent article that solves the problem of enumerating disconnected drives in C#: Mapped network drives cannot be listed in C# The problem is that it seems like this code will NOT include NTFS-formatted drives (only FAT) As I'm…
baruchl
  • 219
  • 2
  • 13
-2
votes
1 answer

How can I get unlabeled volume drive total size by C#?

I'm using C# to investigate windows drives. How can I get the size of volume with RAW Partition?
user436862
  • 867
  • 2
  • 15
  • 32
1 2 3
4