G
Guest
Trying to check if a drive is writable. Can do it by trying to create a directory using DirectoryInfo class then checking err.number but looking for a more elegant way. Tried DirectoryInfo.Attributes.ReadOnly but always get a FileAttributes.ReadOnly result. Any help would be appreciated.