ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Net functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
NetInfoRemoteAccess (Function)
In french: NetInfoAccèsDistant
Warning
From version 2024, this feature is no longer available.
Returns information about the status of a connection as well as the statistics about this connection.
Example
CurrentConnection is boolean
ConnectionDuration is Duration
CurrentConnection = NetInfoRemoteAccess("MyAccesss", niConnected)
IF CurrentConnection = True THEN
ConnectionDuration = NetInfoRemoteAccess("MyAccess", niConnectionDuration)
Info("The MyAccess connection is opened since " + ConnectionDuration)
END
Syntax
<Result> = NetInfoRemoteAccess(<Access name> , <Type of information>)
<Result>: Integer or boolean
Requested information.
<Access name>: Character string
Name of "Remote network access" connection defined in Windows.
<Type of information>: Integer constant
Type of information about the connection:
niConnected<Result> is a boolean.
Used to find out whether the connection is enabled.
<Result> is set to True if the connection is active.
niConnectionDuration<Result> is a duration.
Duration since the connection was established.
niNbByteReceived<Result> is an integer.
Number of bytes received since the connection was established.
niNbByteTransmitted<Result> is an integer.
Number of bytes transmitted since the connection was established.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/20/2023

Send a report | Local help