IntegratedSecurityClientTryAuthenticateAsClient Method
Authenticates the client using the supplied stream.
Namespace: SnapDB.Security.AuthenticationAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticateAsClient(
Stream stream,
byte[]? additionalChallenge = null
)
Public Function TryAuthenticateAsClient (
stream As Stream,
Optional additionalChallenge As Byte() = Nothing
) As Boolean
public:
bool TryAuthenticateAsClient(
Stream^ stream,
array<unsigned char>^ additionalChallenge = nullptr
)
function TryAuthenticateAsClient(stream, additionalChallenge);
- stream Stream
- the stream to use to authenticate the connection.
- additionalChallenge Byte (Optional)
-
Additional data that much match between the client and server
for the connection to succeed.
Booleantrue if authentication succeeded; otherwise,
false.