Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TcpTransportBindingElement::TeredoEnabled Property

 

Gets or sets a Boolean that specifies whether Teredo (a technology for addressing clients that are behind firewalls) is enabled.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property bool TeredoEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if Teredo is enabled; otherwise, false. The default value is false.

This property enables Teredo for the underlying TCP socket. For more information, see Teredo Overview.

This property is applicable only on Windows XP SP2 and Windows Server 2003. Windows Vista has a machine-wide configuration option for Teredo, so when running Windows Vista, this property is ignored. Teredo requires that the client and service machines both have the Microsoft IPv6 stack installed and correctly configured for Teredo usage. For more information about configuring Teredo, see Teredo Overview. For more information about Microsoft IPv6 stack installation, see Windows Server 2003 Technology Centers.

The following example shows how to enable Teredo for the underlying TCP socket.

bool teredoEnabled = bElement.TeredoEnabled;

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft