TwclNlmConnection Class

The class represents a single network connection.

Namespace: wclNlm
TObject
  wclNlm.TwclNlmConnection
type
 TwclNlmConnection = class
 end;

The TwclNlmConnection type exposes the following members.

Show:
 NameDescription
Create(INetworkConnection)

Creates a new Connection object.

Destroy

Frees the network class.

Top
Show:
 NameDescription
GetAdapterId(TGUID)

Reads the ID of the network adapter used by this connection.

GetConnected(Boolean)

Checks if the associated network connection has network connectivity.

GetConnectedToInternet(Boolean)

Checks if the associated network connection has internet connectivity.

GetConnectivity(TwclNlmConnectivityFlags)

Reads the connectivity state of the network connection.

GetDomainType(TwclNlmDomainType)

Reads the domain type of the network connection.

GetId(TGUID)

Reads the Connection ID associated with this network connection.

GetNetwork(TwclNlmNetwork)

Gets the network associated with the connection.

Top

An application must never create objects of this class directly Instead an application must use the GetConnections method of the TwclNetworkListManager component or TwclNlmNetwork class.