System::Net::Security::AuthenticatedStream class

AuthenticatedStream class

Contains the methods for passing credentials across a stream. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class AuthenticatedStream : public System::IO::Stream

Methods

MethodDescription
virtual get_IsAuthenticated() constReturns a value that indicates if authentication is successfully passed.
virtual get_IsEncrypted() constReturns a value that indicates if the data sent using this stream is encrypted.
virtual get_IsMutuallyAuthenticated() constReturns a value that indicates if a server and a client are authenticated.
virtual get_IsServer() constReturns a value that indicates if the local side of the connection is the server.
virtual get_IsSigned() constReturns a value that indicates if the data sent using this stream is signed.
get_LeaveInnerStreamOpen() constRTTI information.

Fields

FieldDescription
static NullA stream with no underlying storage.

See Also