TcpTransportBindingElement.TeredoEnabled Property

Definition

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

public:
 property bool TeredoEnabled { bool get(); void set(bool value); };
public bool TeredoEnabled { get; set; }
member this.TeredoEnabled : bool with get, set
Public Property TeredoEnabled As Boolean

Property Value

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

Examples

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

bool teredoEnabled = bElement.TeredoEnabled;

Remarks

This property enables Teredo for the underlying TCP socket.

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.

Applies to