Smb Client
Manages an SMB2/SMB3 client session over a single TCP connection with asynchronous request pipelining and MessageId-based response demultiplexing.
Connect to a server via SmbClient.connect, enumerate shares with listShares, connect to a file share with connectShare, or open the IPC$ share for named pipe communication with connectIpcShare.
Properties
Functions
Link copied to clipboard
Sends an SMB2 LOGOFF request and closes the underlying TCP transport.
Link copied to clipboard
Connects to the IPC$ share (SMB2 TREE_CONNECT) and returns an SmbPipeShare for named pipe operations.
Link copied to clipboard
Connects to the specified shared folder (SMB2 TREE_CONNECT) and returns an SmbShare handle.
Link copied to clipboard
Enumerates shared folders on the server via DCE/RPC NetrShareEnum over the srvsvc named pipe on IPC$.