ObexWebRequestTimeout Property

Gets or sets the time-out value for the GetResponse method.

Definition

Namespace: InTheHand.Net
Assembly: InTheHand.Net.Obex (in InTheHand.Net.Obex.dll) Version: 4.0.5
C#
public virtual int Timeout { get; set; }

Property Value

Int32
The number of milliseconds to wait before the request times out. The default is 50,000 milliseconds (50 seconds). A value of -1 or 0 represents no time-out.

Remarks

In versions 3.2 and earlier this property was ignored on Windows Mobile. It is now (untested!) supported there, but not with the Microsoft Bluetooth stack there as it doesn't support timeouts. A cunning solution is available let me know of your requirements...

See Also