SecureStreamServerTTryAuthenticateAsServer Method
Attempts to authenticate the stream
Namespace: SnapDB.SecurityAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryAuthenticateAsServer(
Stream stream,
bool useSsl,
out Stream?? secureStream,
out T? token
)
Public Function TryAuthenticateAsServer (
stream As Stream,
useSsl As Boolean,
<OutAttribute> ByRef secureStream As Stream,
<OutAttribute> ByRef token As T
) As Boolean
public:
bool TryAuthenticateAsServer(
Stream^ stream,
bool useSsl,
[OutAttribute] Stream^% secureStream,
[OutAttribute] T% token
)
function TryAuthenticateAsServer(stream, useSsl, secureStream, token);
- stream Stream
- the base stream to authenticate
- useSsl Boolean
- gets if ssl should be used
- secureStream Stream
- the secure stream that is valid if the function returns true.
- token T
- the user's token associated with what user created the stream
Booleantrue if successful,
false otherwise