SecureStreamClientBaseTryAuthenticate(Stream, Boolean) Method

Attempts to authenticate the provided stream, disposing the secure stream upon completion.

Definition

Namespace: SnapDB.Security
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticate(
	Stream stream,
	bool useSsl = true
)

Parameters

stream  Stream
The stream to authenticate.
useSsl  Boolean  (Optional)
Gets if SSL will be used to authenticate.

Return Value

Boolean
true if successful, false otherwise.

See Also