IcmpV4Statistics.AddressMaskRequestsSent Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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.