system\io\driveinfo.cs (16)
109return (DriveType) Win32Native.GetDriveType(Name);
126bool r = Win32Native.GetVolumeInformation(Name, volumeName, volNameLen, out serialNumber, out maxFileNameLen, out fileSystemFlags, fileSystemName, fileSystemNameLen);
129__Error.WinIODriveError(Name, errorCode);
144return Directory.InternalExists(Name);
156bool r = Win32Native.GetDiskFreeSpaceEx(Name, out userBytes, out totalBytes, out freeBytes);
158__Error.WinIODriveError(Name);
175bool r = Win32Native.GetDiskFreeSpaceEx(Name, out userBytes, out totalBytes, out freeBytes);
177__Error.WinIODriveError(Name);
196bool r = Win32Native.GetDiskFreeSpaceEx(Name, out userBytes, out totalBytes, out freeBytes);
198__Error.WinIODriveError(Name);
223return new DirectoryInfo(Name);
243bool r = Win32Native.GetVolumeInformation(Name, volumeName, volNameLen, out serialNumber, out maxFileNameLen, out fileSystemFlags, fileSystemName, fileSystemNameLen);
250__Error.WinIODriveError(Name, errorCode);
267bool r = Win32Native.SetVolumeLabel(Name, value);
273__Error.WinIODriveError(Name, errorCode);
284return Name;