Export (0) Print
Expand All

NegotiateStream Members

Provides a stream that uses the Negotiate security protocol to authenticate the client, and optionally the server, in client-server communication.

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

  Name Description
Public method NegotiateStream Overloaded. Initializes a new instance of the NegotiateStream class.
Top

(see also Protected Properties )
  Name Description
Public property CanRead Overridden. Gets a Boolean value that indicates whether the underlying stream is readable.
Public property CanSeek Overridden. Gets a Boolean value that indicates whether the underlying stream is seekable.
Public property CanTimeout Overridden. Gets a Boolean value that indicates whether the underlying stream supports time-outs.
Public property CanWrite Overridden. Gets a Boolean value that indicates whether the underlying stream is writable.
Public property ImpersonationLevel Gets a value that indicates how the server can use the client's credentials.
Public property IsAuthenticated Overridden. Gets a Boolean value that indicates whether authentication was successful.
Public property IsEncrypted Overridden. Gets a Boolean value that indicates whether this NegotiateStream uses data encryption.
Public property IsMutuallyAuthenticated Overridden. Gets a Boolean value that indicates whether both the server and the client have been authenticated.
Public property IsServer Overridden. Gets a Boolean value that indicates whether the local side of the connection used by this NegotiateStream was authenticated as the server.
Public property IsSigned Overridden. 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.(inherited from AuthenticatedStream)
Public property Length Overridden. Gets the length of the underlying stream.
Public property Position Overridden. Gets or sets the current position in the underlying stream.
Public property ReadTimeout Overridden. Gets or sets the amount of time a read operation blocks waiting for data.
Public property RemoteIdentity Gets information about the identity of the remote party sharing this authenticated stream.
Public property WriteTimeout Overridden. Gets or sets the amount of time a write operation blocks waiting for data.
Top

  Name Description
Protected property InnerStream  Gets the stream used by this AuthenticatedStream for sending and receiving data.(inherited from AuthenticatedStream)
Top

(see also Protected Methods )
  Name Description
Public method AuthenticateAsClient Overloaded. Called by clients to authenticate the client, and optionally the server, in a client-server connection.
Public method AuthenticateAsServer Overloaded. Handles the server side of an authentication for 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 Overridden. Begins an asynchronous read operation that reads data from the stream and stores it in the specified array.
Public method BeginWrite Overridden. Begins an asynchronous write operation that writes Bytes from the specified buffer to the 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 EndAuthenticateAsClient Ends a pending asynchronous client authentication operation that was started with a call to BeginAuthenticateAsClient.
Public method EndAuthenticateAsServer Ends a pending asynchronous client authentication operation that was started with a call to BeginAuthenticateAsServer.
Public method EndRead Overridden. Ends an asynchronous read operation that was started with a call to BeginRead.
Public method EndWrite Overridden. Ends an asynchronous write operation that was started with a call to BeginWrite.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Overridden. Causes any buffered data to be written to the underlying device.
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 Overridden. Reads data from this stream and stores it in the specified array.
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 Overridden. Throws NotSupportedException.
Public method SetLength Overridden. Sets the length of the underlying 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 Overridden. Write the specified number of Bytes to the underlying stream using the specified buffer and offset.
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

Community Additions

ADD
Show:
© 2014 Microsoft