TwclNlmNetwork.GetTimeCreatedAndConnected(TDateTime,TDateTime) Method

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

Namespace: wclNlm
public
 function GetTimeCreatedAndConnected(out Created: TDateTime;
 out Connected: TDateTime): Integer;

Parameters

Created
Type: TDateTime

On output contains a datetime when the network was created.

Connected
Type: TDateTime

On output contains a datetime when the network was last connected to.

Return Value

Type: Integer

If the function succeeded the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.