Compartir a través de


IcmpV4Statistics.AddressMaskRequestsSent Propiedad

Definición

Obtiene el número de mensajes ICMPv4 (Protocolo de mensajes de control de Internet para IPv4) de tipo Solicitud a máscara de direcciones enviados.

public:
 abstract property long AddressMaskRequestsSent { long get(); };
public abstract long AddressMaskRequestsSent { get; }
member this.AddressMaskRequestsSent : int64
Public MustOverride ReadOnly Property AddressMaskRequestsSent As Long

Valor de propiedad

Un valor Int64 que especifica el número total de mensajes de tipo Solicitud a máscara de direcciones enviados.

Ejemplos

En el ejemplo siguiente se muestra el valor de esta propiedad.

void ShowAddressMaskData()
{
   IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
   IcmpV4Statistics ^ statistics = properties->GetIcmpV4Statistics();
   Console::WriteLine( "  Address Mask Requests ............... Sent: {0,-10}   Received: {1,-10}", 
      statistics->AddressMaskRequestsSent, 
      statistics->AddressMaskRequestsReceived );
   Console::WriteLine( "  Address Mask Replies ................ Sent: {0,-10}   Received: {1,-10}", 
      statistics->AddressMaskRepliesSent, 
      statistics->AddressMaskRepliesReceived );
}
public static void ShowAddressMaskData()
{
    IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
    IcmpV4Statistics statistics = properties.GetIcmpV4Statistics();
    Console.WriteLine("  Address Mask Requests ............... Sent: {0,-10}   Received: {1,-10}",
        statistics.AddressMaskRequestsSent, statistics.AddressMaskRequestsReceived);
    Console.WriteLine("  Address Mask Replies ................ Sent: {0,-10}   Received: {1,-10}",
        statistics.AddressMaskRepliesSent, statistics.AddressMaskRepliesReceived);
}
Public Shared Sub ShowAddressMaskData() 
    Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
    Dim statistics As IcmpV4Statistics = properties.GetIcmpV4Statistics()
    Console.WriteLine("  Address Mask Requests ............... Sent: {0,-10}   Received: {1,-10}", statistics.AddressMaskRequestsSent, statistics.AddressMaskRequestsReceived)
    Console.WriteLine("  Address Mask Replies ................ Sent: {0,-10}   Received: {1,-10}", statistics.AddressMaskRepliesSent, statistics.AddressMaskRepliesReceived)

End Sub

Comentarios

Los mensajes de solicitud y respuesta de máscara de dirección se usan para determinar el número de bits de la máscara de subred para la subred local.

Se aplica a