संपादित करें

इसके माध्यम से साझा किया गया


TransportContext Class

Definition

The TransportContext class provides additional context about the underlying transport layer.

public ref class TransportContext abstract
public abstract class TransportContext
type TransportContext = class
Public MustInherit Class TransportContext
Inheritance
TransportContext

Remarks

The TransportContext class is used with classes in the System.Security.Authentication.ExtendedProtection namespace to provide support for authentication using extended protection for applications.

The design of integrated Windows authentication allows for some credential challenge responses to be universal, meaning they can be re-used or forwarded. If this particular design feature is not needed then the challenge responses should be constructed with, at minimum, target specific information and, at best, also some channel specific information. Services can then provide extended protection to ensure that credential challenge responses contain service specific information (a Service Provider Name or SPN) and, if necessary, channel specific information (a channel binding token or CBT). With this information in the credential exchanges, services are able to better protect against malicious use of credential challenge responses that might have been improperly obtained.

HttpWebRequest is the only class derived from WebRequest class that can potentially use IWA. The FtpWebRequest class does only FTP clear text authentication. The FileWebRequest class doesn't perform any authentication.

There are several ways an application may get a TransportContext instance. An application that uses SslStream can get the TransportContext using the TransportContext property. An application that uses HttpWebRequest can get a TransportContext using the GetRequestStream or EndGetRequestStream methods.

Constructors

TransportContext()

Creates a new instance of the TransportContext class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChannelBinding(ChannelBindingKind)

Retrieves the requested channel binding.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetTlsTokenBindings()

Gets the transport security layer token bindings.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also