Companion

object Companion

Functions

Link copied to clipboard
suspend fun connect(host: String, port: Int = 445, credentials: SmbCredentials = SmbCredentials.Anonymous, config: SmbConfig = SmbConfig()): SmbClient

Connects to the specified SMB server over TCP and completes dialect negotiation and NTLMv2 authentication.