System.Net.Security.AuthenticatedStream Class

Provides methods for passing credentials across a stream and requesting or performing authentication for client-server applications.

See Also: AuthenticatedStream Members


public abstract class AuthenticatedStream : System.IO.Stream


This abstract class provides methods and properties that are common to authenticated streams.

Authenticated streams can provide authentication, data signing, and encryption services that can help maintain the integrity and confidentiality of data transmitted using the AuthenticatedStream.InnerStream.

The security protocol implemented by a class that derives from System.Net.Security.AuthenticatedStream together with the security protocols supported on the client and server will determine the security features that are available to an application. The System.Net.Security.NegotiateStream and System.Net.Security.SslStream classes inherit from System.Net.Security.AuthenticatedStream and implement the Negotiate and Secure Sockets Layer security protocols, respectively.


Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0