In The Hand LtdIn The Hand
EstablishConnectionSync Method (destination, timeout)
NamespacesInTheHand.WindowsMobile.NetConnectionManagerEstablishConnectionSync(Guid, TimeSpan)
.NET Components for Mobility
Creates a connection request but returns information only after the connection has been established or has failed.
Declaration Syntax
C#Visual Basic
public ConnectionStatus EstablishConnectionSync(
	Guid destination,
	TimeSpan timeout
)
Public Function EstablishConnectionSync ( _
	destination As Guid, _
	timeout As TimeSpan _
) As ConnectionStatus
Parameters
destination (Guid)
Guid of the destination network or specific network connection to use.
timeout (TimeSpan)
Specifies a timeout, for connection establishment.
Return Value
Resulting ConnectionStatus after success or expiration of the timeout.
Remarks
Platforms Supported
Windows Mobile
Windows Mobile 2003 and later
Windows Embedded Compact
Windows Embedded Compact 6.0 and later, Windows Embedded NavReady 2009
See Also

Assembly: InTheHand.WindowsMobile (Module: InTheHand.WindowsMobile) Version: 7.0.0.0