New answers tagged

1

Regarding the implementation of CopyAsync it will always copy the stream. Can previous claims be applied to the copy as well? Your current implementation exposes two sort of operations: Move Copy They are sharing the same signature (more or less). The override functionality is not controllable in case of Move from the consumer perspective. The Copy ...


3

Errors aren't answers This: try { return new DriveInfo(path).DriveType == DriveType.Network; } catch (Exception) { return false; } will harm and not help you. What if a caller passes the integer 3 for path? The network drive status is certainly not True, but you can't say that it's False, either. It's an error, and ...


Top 50 recent answers are included