mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-20 16:15:53 +02:00
Client: ServerServiceHelper.ListShares: Close pipe after all data has been read
This commit is contained in:
parent
1763c2420d
commit
d1dadc00e6
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ namespace SMBLibrary.Client
|
|||
}
|
||||
responseData = ByteUtils.Concatenate(responseData, responsePDU.Data);
|
||||
}
|
||||
namedPipeShare.CloseFile(pipeHandle);
|
||||
NetrShareEnumResponse shareEnumResponse = new NetrShareEnumResponse(responseData);
|
||||
ShareInfo1Container shareInfo1 = shareEnumResponse.InfoStruct.Info as ShareInfo1Container;
|
||||
if (shareInfo1 == null || shareInfo1.Entries == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue