IcmpV4Statistics.AddressMaskRepliesSent Proprietà
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene il numero di messaggi Address Mask Reply del protocollo ICMPv4 inviati.
public:
abstract property long AddressMaskRepliesSent { long get(); };
public abstract long AddressMaskRepliesSent { get; }
member this.AddressMaskRepliesSent : int64
Public MustOverride ReadOnly Property AddressMaskRepliesSent As Long
Valore della proprietà
Valore Int64 che specifica il numero totale di messaggi Address Mask Reply inviati.
Esempio
Nell'esempio seguente viene visualizzato il valore di questa proprietà.
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
Commenti
I messaggi Di richiesta e risposta di Address Mask vengono usati per determinare il numero di bit nella subnet mask per la subnet locale.