Closed Jo0 closed 4 years ago
Format test method names so they are more readable.
Add DriveInfo integration tests.
Add GetSmbCredentials so that we can return SMBDriveInfo for all shares we have credentials for.
Add BuildSharePath PathExtension to consolidate building a smb uri or unc path.
Add check for null Parent in SMBDirectoryInfo to prevent an infinite loop for trying to retrive Root FromDirectoryName.
Add NTStatus check in DirectoryInfoFactory to exit when we fail to connect to the share.
Implement SMBDriveInfo properties.
Implement SMBDriveInfoFactory.
Add Parameters to SMBDriveInfoFactory in SMBFileSystem.
Create SMBFileSystemInformation to easily retrieve all FileSystemInformationClass.
Created a NTStatus extension called Handle() to throw a message that coorelates to the NTStatus found in these three Microsoft Open Spec pages SMB Error Classes and Codes SMB Error Classes and Codes NTStatus Values and Descriptions
NTStatus
Handle()
Replaced most, if not all, instances of if(status != NTStatus.SUCCESS) with the status.HandleStatus()
if(status != NTStatus.SUCCESS)
status.HandleStatus()
Organized the project so it's a little easier to navigate.
Format test method names so they are more readable.
Add DriveInfo integration tests.
Add GetSmbCredentials so that we can return SMBDriveInfo for all shares we have credentials for.
Add BuildSharePath PathExtension to consolidate building a smb uri or unc path.
Add check for null Parent in SMBDirectoryInfo to prevent an infinite loop for trying to retrive Root FromDirectoryName.
Add NTStatus check in DirectoryInfoFactory to exit when we fail to connect to the share.
Implement SMBDriveInfo properties.
Implement SMBDriveInfoFactory.
Add Parameters to SMBDriveInfoFactory in SMBFileSystem.
Create SMBFileSystemInformation to easily retrieve all FileSystemInformationClass.
Created a
NTStatus
extension calledHandle()
to throw a message that coorelates to the NTStatus found in these three Microsoft Open Spec pages SMB Error Classes and Codes SMB Error Classes and Codes NTStatus Values and DescriptionsReplaced most, if not all, instances of
if(status != NTStatus.SUCCESS)
with thestatus.HandleStatus()
Organized the project so it's a little easier to navigate.