SecureStreamClientBaseAuthenticate Method
Authenticates the supplied stream. Returns the secure stream.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public Stream Authenticate(
Stream stream,
bool useSsl = true
)
Public Function Authenticate (
stream As Stream,
Optional useSsl As Boolean = true
) As Stream
public:
Stream^ Authenticate(
Stream^ stream,
bool useSsl = true
)
function Authenticate(stream, useSsl);
- stream Stream
- The stream to authenticate.
- useSsl Boolean (Optional)
-
Indicates whether to use SSL for secure communication. Defaults to true if not specified.
Stream
A secure stream if authentication succeeds; otherwise, an exception is thrown.