connectShare

suspend fun connectShare(shareName: String): SmbShare

Connects to the specified shared folder (SMB2 TREE_CONNECT) and returns an SmbShare handle.