SecureStreamClientBaseTryAuthenticate(Stream, Boolean) Method
Attempts to authenticate the provided stream, disposing the secure stream upon completion.
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticate(
Stream stream,
bool useSsl = true
)
Public Function TryAuthenticate (
stream As Stream,
Optional useSsl As Boolean = true
) As Boolean
public:
bool TryAuthenticate(
Stream^ stream,
bool useSsl = true
)
function TryAuthenticate(stream, useSsl);
- stream Stream
- The stream to authenticate.
- useSsl Boolean (Optional)
- Gets if SSL will be used to authenticate.
Booleantrue if successful,
false otherwise.