TwclNlmNetwork Class

The class represents a network on the local machine. It can also represent a collection of network connections with a similar network signature.

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

The TwclNlmNetwork type exposes the following members.

Show:
 NameDescription
Create(INetwork)

Creates a new Network object.

Destroy

Frees the network class.

Top
Show:
 NameDescription
GetCategory(TwclNlmNetworkCategory)

Reads the category of the network.

GetConnected(Boolean)

Checks if the network has any network connectivity.

GetConnectedToInternet(Boolean)

Checks if the network has internet connectivity.

GetConnections(TwclNlmConnections)

The method returns an enumeration of all network connections for a network. A network can have multiple connections to it from different interfaces or different links from the same interface.

GetConnectivity(TwclNlmConnectivityFlags)

Reads the connectivity state of the network.

GetDescription(string)

Reads the description string for the network.

GetDomainType(TwclNlmDomainType)

Reads the domain type of a network.

GetName(string)

Reads the name of a network.

GetNetworkId(TGUID)

Reads the unique identifier of a network.

GetTimeCreatedAndConnected(TDateTime,TDateTime)

Reads the local date and time when the network was created and connected.

SetCategory(TwclNlmNetworkCategory)

Sets the category of a network. Changes made take effect immediately. Administrative privileges are needed for this method.

SetDescription(string)

Sets or replaces the description for a network.

SetName(string)

Sets or renames a network.

Top

An application must never create this class directly. Instead of that an application must use GetNetwork or GetNetworks methods of the TwclNetworkListManager component.