C# DriveInfo FileInfo

Posted by maxfridbe on Stack Overflow See other posts from Stack Overflow or by maxfridbe
Published on 2008-12-16T01:39:14Z Indexed on 2010/06/18 2:23 UTC
Read the original article Hit count: 304

Filed under:
|

This may seem like a stupid question, so here goes:

Other than parsing the string of FileInfo.FullPath for the drive letter to then use DriveInfo("c") etc to see if there is enough space to write this file. Is there a way to get the drive letter from FileInfo?

© Stack Overflow or respective owner

Related posts about c#

Related posts about file-io