System
2.0.0.0
4.0.0.0
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 .
The security protocol implemented by a class that derives from together with the security protocols supported on the client and server will determine the security features that are available to an application. The and classes inherit from and implement the Negotiate and Secure Sockets Layer security protocols, respectively.
Provides methods for passing credentials across a stream and requesting or performing authentication for client-server applications.
Constructor
2.0.0.0
4.0.0.0
When you specify true for the parameter, closing the has no effect on the stream.
This constructor is provided for implementers of authenticated streams, and can be called only by classes that are derived from .
Initializes a new instance of the class.
A object used by the for sending and receiving data.
A that indicates whether closing this object also closes .
Method
2.0.0.0
4.0.0.0
System.Void
This method is called by the public Dispose() method and the method. Dispose() invokes the protected Dispose(Boolean) method with the parameter set to true. invokes Dispose with set to false.
When the parameter is true, this method releases all resources held by any managed objects that this references. This method invokes the Dispose() method of each referenced object.
Releases the unmanaged resources used by the and optionally releases the managed resources.
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Property
2.0.0.0
4.0.0.0
System.IO.Stream
To be added.
Classes that inherit from can use this property to access the stream passed to the .
Gets the stream used by this for sending and receiving data.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
The methods called to perform authentication are defined in the classes that inherit from .
Gets a value that indicates whether authentication was successful.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
Encryption helps to protect the privacy of the data; namely, it helps to ensure that while data is in transit, it cannot be deciphered by third parties.
Gets a value that indicates whether data sent using this is encrypted.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
Not all security protocols support mutual authentication. To determine whether mutual authentication is supported by the security protocol implemented in a class that inherits from , check the class documentation.
Gets a value that indicates whether both server and client have been authenticated.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
Most security protocols used for client-server authentication define specific behavior and requirements for supplying credentials for authentication based on whether you are the client or the server.
Gets a value that indicates whether the local side of the connection was authenticated as the server.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
Data signing helps to protect the integrity of the data; namely, it helps the recipient determine whether the data has been tampered with while in transit.
Gets a value that indicates whether the data sent using this stream is signed.
Property
2.0.0.0
4.0.0.0
System.Boolean
To be added.
When set to true, the stream passed to the constructor of this class will not be closed after the instance of this class is closed. When set to false, closing the instance of this class will also close the underlined transport stream. The default value of this property is false.
Gets whether the stream used by this for sending and receiving data has been left open.