IcmpV4Statistics.AddressMaskRepliesSent Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém o número de mensagens de resposta de máscara de endereço de ICMPv4 (protocolo ICMPv4) que foram enviadas.
public:
abstract property long AddressMaskRepliesSent { long get(); };
public abstract long AddressMaskRepliesSent { get; }
member this.AddressMaskRepliesSent : int64
Public MustOverride ReadOnly Property AddressMaskRepliesSent As Long
Valor da propriedade
Um Int64 valor que especifica o número total de mensagens de Resposta da Máscara de Endereço que foram enviadas.
Exemplos
O exemplo a seguir exibe o valor dessa propriedade.
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
Comentários
As mensagens solicitação e resposta da máscara de endereço são usadas para determinar o número de bits na máscara de sub-rede para a sub-rede local.