diff --git a/README.adoc b/README.adoc index 51a1d00d..91cdcb37 100644 --- a/README.adoc +++ b/README.adoc @@ -63,13 +63,14 @@ B - Deleting a file ``` -C - Adjusting Timeout and Socket Timeout +C - Adjusting Timeout, Socket Timeout and encryption on transit ```java SmbConfig config = SmbConfig.builder() .withTimeout(120, TimeUnit.SECONDS) // Timeout sets Read, Write, and Transact timeouts (default is 60 seconds) .withSoTimeout(180, TimeUnit.SECONDS) // Socket Timeout (default is 0 seconds, blocks forever) + .withEncryptData(true) // This will allow to connect to folders with encryption on transit .build(); SMBClient client = new SMBClient(config);