The number value will return 1 for connected, and -1 for disconnected. This works for physical and non-physical adapters. ADAPTER_STATE : Gets the "media connected state" of the network adapter specified by SysInfoData.ADAPTER_GUID : The GUID of the network adapter specified by SysInfoData.ADAPTER_ALIAS : The network interface connected to by the network adapter specified by SysInfoData.The meaning of numeric codes other than 6 and 71 can be found at: Adapter Info. The number value will be one of 6 (Ethernet), 71 (Wireless), or some other number in the range 0-280 (Other). The string value will be one of Ethernet, Wireless or Other. ADAPTER_TYPE : The type of network adapter specified by SysInfoData.ADAPTER_DESCRIPTION : The description (name) of the network adapter specified by SysInfoData.DNS_SERVER : The computer's network primary DNS server IP address.DOMAIN_WORKGROUP : The computer's network domain or workgroup name.DOMAIN_NAME : The computer's network domain name.HOST_NAME : The computer's network host name.IDLE_TIME : The number of seconds since the last mouse or keyboard input to the operating system.PAGESIZE : The size in bytes of the current contiguous page size allocated for system memory.OS_BITS : Returns whether the version of Windows is 32 or 64 bit.OS_PRODUCT_NAME : The version of Windows including the OS edition.Use with a Time measure to get a formatted string of the date/time, or subtract from the current time and use with an Uptime measure to get a formatted string of the elapsed time. LAST_WAKE_TIME : A timestamp number (number of seconds since January 1, 1601) reflecting the date and time Windows was last returned from a sleep state.LAST_SLEEP_TIME : A timestamp number (number of seconds since January 1, 1601) reflecting the date and time Windows last entered a sleep state.USER_LOGONTIME : A timestamp number (number of seconds since January 1, 1601) reflecting the date and time the current user account logged onto Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |