Export (0) Print
Expand All

SslStream Members

Provides a stream used for client-server communication that uses the Secure Socket Layer (SSL) security protocol to authenticate the server and optionally the client.

The SslStream type exposes the following members.

  NameDescription
Public method SslStream Overloaded. Initializes a new instance of the SslStream class.
Top

  NameDescription
Public method AuthenticateAsClient Overloaded. Authenticate the client side of a client-server connection.
Public method AuthenticateAsServer Overloaded. Called by servers to authenticate the server and optionally the client in a client-server connection.
Public method BeginAuthenticateAsClient Overloaded. Begins an asynchronous operation to authenticate the client side of a client-server connection.
Public method BeginAuthenticateAsServer Overloaded. Begins an asynchronous operation to handle the server side of authenticating a client-server connection.
Public method BeginRead Begins an asynchronous read operation that reads data from the stream and stores it in the specified array. (Overrides Stream.BeginRead(Byte[], Int32, Int32, AsyncCallback, Object).)
Public method BeginWrite Begins an asynchronous write operation that writes Bytes from the specified buffer to the stream. (Overrides Stream.BeginWrite(Byte[], Int32, Int32, AsyncCallback, Object).)
Public method Close Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Protected method CreateWaitHandle Obsolete. Allocates a WaitHandle object. (Inherited from Stream.)
Public method Dispose Overloaded. Releases the unmanaged resources used by the SslStream and optionally releases the managed resources.
Public method EndAuthenticateAsClient Ends a pending asynchronous server authentication operation started with a previous call to BeginAuthenticateAsServer.
Public method EndAuthenticateAsServer Ends a pending asynchronous client authentication operation started with a previous call to BeginAuthenticateAsClient.
Public method EndRead Ends an asynchronous read operation started with a previous call to BeginRead. (Overrides Stream.EndRead(IAsyncResult).)
Public method EndWrite Ends an asynchronous write operation started with a previous call to BeginWrite. (Overrides Stream.EndWrite(IAsyncResult).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Causes any buffered data to be written to the underlying device. (Overrides Stream.Flush().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Overloaded.
Public method Read Reads data from this stream and stores it in the specified array. (Overrides Stream.Read(Byte[], Int32, Int32).)
Public method ReadByte Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from Stream.)
Public method Seek Infrastructure. Throws a NotSupportedException. (Overrides Stream.Seek(Int64, SeekOrigin).)
Public method SetLength Sets the length of the underlying stream. (Overrides Stream.SetLength(Int64).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Write Overloaded. Writes data to this stream.
Public method WriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.)
Top

  NameDescription
Public property CanRead Gets a Boolean value that indicates whether the underlying stream is readable. (Overrides Stream.CanRead.)
Public property CanSeek Gets a Boolean value that indicates whether the underlying stream is seekable. (Overrides Stream.CanSeek.)
Public property CanTimeout Gets a Boolean value that indicates whether the underlying stream supports time-outs. (Overrides Stream.CanTimeout.)
Public property CanWrite Gets a Boolean value that indicates whether the underlying stream is writable. (Overrides Stream.CanWrite.)
Public property CheckCertRevocationStatus Gets a Boolean value that indicates whether the certificate revocation list is checked during the certificate validation process.
Public property CipherAlgorithm Gets a value that identifies the bulk encryption algorithm used by this SslStream.
Public property CipherStrength Gets a value that identifies the strength of the cipher algorithm used by this SslStream.
Public property HashAlgorithm Gets the algorithm used for generating message authentication codes (MACs).
Public property HashStrength Gets a value that identifies the strength of the hash algorithm used by this instance.
Protected property InnerStream Gets the stream used by this AuthenticatedStream for sending and receiving data. (Inherited from AuthenticatedStream.)
Public property IsAuthenticated Gets a Boolean value that indicates whether authentication was successful. (Overrides AuthenticatedStream.IsAuthenticated.)
Public property IsEncrypted Gets a Boolean value that indicates whether this SslStream uses data encryption. (Overrides AuthenticatedStream.IsEncrypted.)
Public property IsMutuallyAuthenticated Gets a Boolean value that indicates whether both server and client have been authenticated. (Overrides AuthenticatedStream.IsMutuallyAuthenticated.)
Public property IsServer Gets a Boolean value that indicates whether the local side of the connection used by this SslStream was authenticated as the server. (Overrides AuthenticatedStream.IsServer.)
Public property IsSigned Gets a Boolean value that indicates whether the data sent using this stream is signed. (Overrides AuthenticatedStream.IsSigned.)
Public property KeyExchangeAlgorithm Gets the key exchange algorithm used by this SslStream.
Public property KeyExchangeStrength Gets a value that identifies the strength of the key exchange algorithm used by this instance.
Public property LeaveInnerStreamOpen Gets whether the stream used by this AuthenticatedStream for sending and receiving data has been left open. (Inherited from AuthenticatedStream.)
Public property Length Gets the length of the underlying stream. (Overrides Stream.Length.)
Public property LocalCertificate Gets the certificate used to authenticate the local endpoint.
Public property Position Gets or sets the current position in the underlying stream. (Overrides Stream.Position.)
Public property ReadTimeout Gets or sets the amount of time a read operation blocks waiting for data. (Overrides Stream.ReadTimeout.)
Public property RemoteCertificate Gets the certificate used to authenticate the remote endpoint.
Public property SslProtocol Gets a value that indicates the security protocol used to authenticate this connection.
Public property TransportContext Gets the TransportContext used for authentication using extended protection.
Public property WriteTimeout Gets or sets the amount of time a write operation blocks waiting for data. (Overrides Stream.WriteTimeout.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft