- WMI Library -
WMI Libraly > Win32_PingStatus Class

Win32_PingStatus Class

The Win32_PingStatus class contains the values returned by the standard ping command. More information on ping can be found in RFC 791.
Namespace value is root/CIMV2.
WMI Provider value is WMIPingProvider.


  • Address
  • The Address property holds the value of the address requested. This can be either hostname ('wxyz1234') or IP address ('').

  • BufferSize
  • The BufferSize property indicates the buffer size sent with the ping command. The default value is 32.

  • NoFragmentation
  • The NoFragmentation property sets a 'Don't Fragment' on packets sent. The default is False, not fragmented.

  • PrimaryAddressResolutionStatus
  • The PrimaryAddressResolutionStatus property holds status information resulting from the gethostbyname call. This property reports the status of the resolution of the address value (ie value of the address property) given in the query. It is not related to any other resolution performed.
    The property can take the following values:
    0 - Success.
    Other - For integer values other than those listed above, refer to WinSock error code documentation.

  • ProtocolAddress
  • The ProtocolAddress property contains the address that the destination used to reply.

  • ProtocolAddressResolved
  • The ProtocolAddressResolved property contains the resolved address corresponding to the ProtocolAddress property

  • RecordRoute
  • The RecordRoute property indicates how many hops should be recorded while the packet is enroute. The default is zero.

  • ReplyInconsistency
  • The ReplyInconsistency property reports inconsistent reply data.

  • ReplySize
  • The ReplySize property indicates the size of the buffer returned.

  • ResolveAddressNames
  • The ResolveAddressesNames indicates whether or not the command will resolve address names of output address values. The default is False - no resolution.

  • ResponseTime
  • The ResponseTime property indicates the time elapsed to handle the request.

  • ResponseTimeToLive
  • The ResponseTimeToLive property indicates the time to live from moment the request is received.

  • RouteRecord
  • The RouteRecord property holds a record of intermediate hops.

  • RouteRecordResolved
  • The RouteRecordResolved property holds the resolved address corresponding to the RouteRecord entry.

  • SourceRoute
  • The SourceRoute property contais a comma separated list of valid Source Routes.

  • SourceRouteType
  • The SourceRouteType property indicates the type of source route option to be used on host list specified in the SourceRoute property. If a value outside of the ValueMap is specified 0 is assumed. The default is zero.

  • StatusCode
  • The StatusCode property returns the ping status codes.

  • Timeout
  • The Timeout property indicates the Timeout value in milliseconds. If a response is not received in this time no response will be assumed. The default is 4000 milliseconds.

  • TimeStampRecord
  • The TimeStampRecord property holds a record timestamps for intermediate hops.

  • TimeStampRecordAddress
  • The TimeStampRecordAddress property holds the intermediate hop corresponding to the TimeStampRecord entry.

  • TimeStampRecordAddressResolved
  • The TimeStampRecordAddressResolved property holds the resolved address corresponding to the TimeStampRecordAddress entry.

  • TimestampRoute
  • The TimestampRoute property indicates how many hops should be recorded with time stamp information while the packet is enroute. A Timestamp is the number of milliseconds that have passed since midnight UT. If the time is not available in milliseconds or cannot be provided with respect to midnight UT then any time may be inserted as a timestamp provided the high order bit of the timestamp field is set to one to indicate the use of a non-standard value. The default is zero.

  • TimeToLive
  • The TimeToLive property indicates the lifespan of the ping packet in seconds. This is an upper limit and not absolute as all routers MUST decrement this value by one and hops between routers rarely take this amount of time. When this value becomes zero the packet will be dropped by the router. The default value is 80 seconds.

  • TypeofService
  • the TypeOfService property provides an indication of the abstract parameters of the quality of service desired. These parameters are to be used to guide the selection of the actual service parameters when transmitting a datagram through a particular network. The default value is 0.
    bits 0-2: Precedence.
    bit 3: 0 = Normal Delay, 1 = Low Delay.
    bits 4: 0 = Normal Throughput, 1 = High Throughput.
    bits 5: 0 = Normal Relibility, 1 = High Relibility.
    bit 6-7: Reserved.

    111 - Network Control
    110 - Internetwork Control
    101 - CRITIC/ECP
    100 - Flash Override
    011 - Flash
    010 - Immediate
    001 - Priority
    000 - Routine

    For a detailed description of the various serive types, refer to RFC 791, page 12.


    Method not found.

    Example WQL

    SELECT * FROM Win32_PingStatus
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...