I am working on a app that will have multiple threads and each thread will have a SSHClient object so I can contact multiple PCs.
So do I need to create a ScFileStorage object for each ScSSHClient object?
If so can all of the ScFileStorage objects point to the same directory?
I see there is a ScMemoryStorage object but do not see any info in help for it? So when & how is the MemoryStorage used?
Any examples of multiple SSHClients & threads?
Multiple SSHClients do I need multiple ScFileStorages
Re: Multiple SSHClients do I need multiple ScFileStorages
You can use one TScFileStorage instance for multiple TScSSHClient objects.
You can get information about the TScMemoryStorage component in SecureBridge help: https://www.devart.com/sbridge/docs/tsc ... torage.htm
Using the TSSHClient component in a multithreaded application does not differ from its use in a single-threaded application, so you can use the demo projects distributed with SecureBridge.
You can get information about the TScMemoryStorage component in SecureBridge help: https://www.devart.com/sbridge/docs/tsc ... torage.htm
Using the TSSHClient component in a multithreaded application does not differ from its use in a single-threaded application, so you can use the demo projects distributed with SecureBridge.