Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AuthenticatedStream Members

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

The following tables list the members exposed by the AuthenticatedStream type.

  Name Description
Protected method AuthenticatedStream Initializes a new instance of the AuthenticatedStream class.
Top
(see also Protected Properties )
  Name Description
Public property CanRead  When overridden in a derived class, gets a value indicating whether the current stream supports reading.(inherited from Stream)
Public property CanSeek  When overridden in a derived class, gets a value indicating whether the current stream supports seeking.(inherited from Stream)
Public property CanTimeout  Gets a value that determines whether the current stream can time out.(inherited from Stream)
Public property CanWrite  When overridden in a derived class, gets a value indicating whether the current stream supports writing.(inherited from Stream)
Public property IsAuthenticated Gets a Boolean value that indicates whether authentication was successful.
Public property IsEncrypted Gets a Boolean value that indicates whether data sent using this AuthenticatedStream is encrypted.
Public property IsMutuallyAuthenticated Gets a Boolean value that indicates whether both server and client have been authenticated.
Public property IsServer Gets a Boolean value that indicates whether the local side of the connection was authenticated as the server.
Public property IsSigned Gets a Boolean value that indicates whether the data sent using this stream is signed.
Public property LeaveInnerStreamOpen Gets whether the stream used by this AuthenticatedStream for sending and receiving data has been left open.
Public property Length  When overridden in a derived class, gets the length in bytes of the stream.(inherited from Stream)
Public property Position  When overridden in a derived class, gets or sets the position within the current stream.(inherited from Stream)
Public property ReadTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (inherited from Stream)
Public property WriteTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (inherited from Stream)
Top
  Name Description
Protected property InnerStream Gets the stream used by this AuthenticatedStream for sending and receiving data.
Top
(see also Protected Methods )
  Name Description
Public method BeginRead  Begins an asynchronous read operation. (inherited from Stream)
Public method BeginWrite  Begins an asynchronous write operation. (inherited from Stream)
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)
Public method Dispose Overloaded.  
Public method EndRead  Waits for the pending asynchronous read to complete. (inherited from Stream)
Public method EndWrite  Ends an asynchronous write operation. (inherited from Stream)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush  When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. (inherited from Stream)
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)
Public method Read  When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (inherited from Stream)
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 Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Seek  When overridden in a derived class, sets the position within the current stream. (inherited from Stream)
Public method SetLength  When overridden in a derived class, sets the length of the current stream. (inherited from Stream)
Public method Static Synchronized  Creates a thread-safe (synchronized) wrapper around the specified Stream object. (inherited from Stream)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Write  When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (inherited from 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
  Name Description
Protected method CreateWaitHandle  Allocates a WaitHandle object. (inherited from Stream)
Protected method Dispose Overloaded. Overridden.  
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.