IcmpV6Statistics 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
로컬 컴퓨터에 대한 ICMPv6(인터넷 프로토콜 버전 6) 통계 데이터에 대한 인터넷 제어 메시지 프로토콜을 제공합니다.
public ref class IcmpV6Statistics abstract
public abstract class IcmpV6Statistics
type IcmpV6Statistics = class
Public MustInherit Class IcmpV6Statistics
- 상속
-
IcmpV6Statistics
예제
다음 예제에서는 현재 ICMPv6 통계를 표시합니다.
public static void ShowIcmpV6Statistics()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IcmpV6Statistics stat = properties.GetIcmpV6Statistics();
Console.WriteLine("ICMP V6 Statistics:");
Console.WriteLine(" Messages ............................ Sent: {0,-10} Received: {1,-10}",
stat.MessagesSent, stat.MessagesReceived);
Console.WriteLine(" Errors .............................. Sent: {0,-10} Received: {1,-10}",
stat.ErrorsSent, stat.ErrorsReceived);
Console.WriteLine(" Echo Requests ....................... Sent: {0,-10} Received: {1,-10}",
stat.EchoRequestsSent, stat.EchoRequestsReceived);
Console.WriteLine(" Echo Replies ........................ Sent: {0,-10} Received: {1,-10}",
stat.EchoRepliesSent, stat.EchoRepliesReceived);
Console.WriteLine(" Destination Unreachables ............ Sent: {0,-10} Received: {1,-10}",
stat.DestinationUnreachableMessagesSent, stat.DestinationUnreachableMessagesReceived);
Console.WriteLine(" Parameter Problems .................. Sent: {0,-10} Received: {1,-10}",
stat.ParameterProblemsSent, stat.ParameterProblemsReceived);
Console.WriteLine(" Packets Too Big ..................... Sent: {0,-10} Received: {1,-10}",
stat.PacketTooBigMessagesSent, stat.PacketTooBigMessagesReceived);
Console.WriteLine(" Redirects ........................... Sent: {0,-10} Received: {1,-10}",
stat.RedirectsSent, stat.RedirectsReceived);
Console.WriteLine(" Router Advertisements ............... Sent: {0,-10} Received: {1,-10}",
stat.RouterAdvertisementsSent, stat.RouterAdvertisementsReceived);
Console.WriteLine(" Router Solicitations ................ Sent: {0,-10} Received: {1,-10}",
stat.RouterSolicitsSent, stat.RouterSolicitsReceived);
Console.WriteLine(" Time Exceeded ....................... Sent: {0,-10} Received: {1,-10}",
stat.TimeExceededMessagesSent, stat.TimeExceededMessagesReceived);
Console.WriteLine(" Neighbor Advertisements ............. Sent: {0,-10} Received: {1,-10}",
stat.NeighborAdvertisementsSent, stat.NeighborAdvertisementsReceived);
Console.WriteLine(" Neighbor Solicitations .............. Sent: {0,-10} Received: {1,-10}",
stat.NeighborSolicitsSent, stat.NeighborSolicitsReceived);
Console.WriteLine(" Membership Queries .................. Sent: {0,-10} Received: {1,-10}",
stat.MembershipQueriesSent, stat.MembershipQueriesReceived);
Console.WriteLine(" Membership Reports .................. Sent: {0,-10} Received: {1,-10}",
stat.MembershipReportsSent, stat.MembershipReportsReceived);
Console.WriteLine(" Membership Reductions ............... Sent: {0,-10} Received: {1,-10}",
stat.MembershipReductionsSent, stat.MembershipReductionsReceived);
Console.WriteLine("");
}
설명
ICMPV6은 IPv6(인터넷 프로토콜 버전 6)에서 사용할 오류 및 정보 메시지 집합입니다. 이 클래스는 메서드에서 GetIcmpV6Statistics ICMPV6 트래픽 정보를 반환하는 데 사용됩니다.
이 클래스의 속성은 IETF RFC 2466에 정의된 ICMPv6의 관리 정보 기반 개체와 상관 관계가 있습니다. ICMPv6은 RFC 2463에서 정의됩니다.
생성자
| Name | Description |
|---|---|
| IcmpV6Statistics() |
IcmpV6Statistics 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| DestinationUnreachableMessagesReceived |
대상에 연결할 수 없는 주소가 있는 패킷으로 인해 받은 ICMPv6(Internet Control Message Protocol 버전 6) 메시지의 수를 가져옵니다. |
| DestinationUnreachableMessagesSent |
대상에 연결할 수 없는 주소가 있는 패킷으로 인해 전송된 ICMPv6(Internet Control Message Protocol 버전 6) 메시지의 수를 가져옵니다. |
| EchoRepliesReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) Echo Reply 메시지의 수를 가져옵니다. |
| EchoRepliesSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) Echo Reply 메시지의 수를 가져옵니다. |
| EchoRequestsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) Echo Request 메시지의 수를 가져옵니다. |
| EchoRequestsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) Echo Request 메시지의 수를 가져옵니다. |
| ErrorsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 오류 메시지의 수를 가져옵니다. |
| ErrorsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 오류 메시지의 수를 가져옵니다. |
| MembershipQueriesReceived |
받은 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 쿼리 메시지 수를 가져옵니다. |
| MembershipQueriesSent |
보낸 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 쿼리 메시지의 수를 가져옵니다. |
| MembershipReductionsReceived |
받은 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 감소 메시지의 수를 가져옵니다. |
| MembershipReductionsSent |
보낸 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 감소 메시지의 수를 가져옵니다. |
| MembershipReportsReceived |
받은 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 보고서 메시지의 수를 가져옵니다. |
| MembershipReportsSent |
보낸 IGMP(인터넷 그룹 관리 프로토콜) 그룹 멤버 자격 보고서 메시지의 수를 가져옵니다. |
| MessagesReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 메시지의 수를 가져옵니다. |
| MessagesSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 메시지의 수를 가져옵니다. |
| NeighborAdvertisementsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 인접 알림 메시지의 수를 가져옵니다. |
| NeighborAdvertisementsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 인접 알림 메시지의 수를 가져옵니다. |
| NeighborSolicitsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 인접 요청 메시지의 수를 가져옵니다. |
| NeighborSolicitsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 인접 요청 메시지의 수를 가져옵니다. |
| PacketTooBigMessagesReceived |
ICMPv6(Internet Control Message Protocol 버전 6) 패킷이 너무 큰 메시지를 수신한 수를 가져옵니다. |
| PacketTooBigMessagesSent |
ICMPv6(Internet Control Message Protocol 버전 6) 패킷 너무 큰 메시지를 보낸 수를 가져옵니다. |
| ParameterProblemsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 매개 변수 문제 메시지의 수를 가져옵니다. |
| ParameterProblemsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 매개 변수 문제 메시지의 수를 가져옵니다. |
| RedirectsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 리디렉션 메시지의 수를 가져옵니다. |
| RedirectsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 리디렉션 메시지의 수를 가져옵니다. |
| RouterAdvertisementsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 라우터 보급 메시지의 수를 가져옵니다. |
| RouterAdvertisementsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 라우터 보급 메시지의 수를 가져옵니다. |
| RouterSolicitsReceived |
받은 ICMPv6(Internet Control Message Protocol 버전 6) 라우터 요청 메시지의 수를 가져옵니다. |
| RouterSolicitsSent |
보낸 ICMPv6(Internet Control Message Protocol 버전 6) 라우터 요청 메시지의 수를 가져옵니다. |
| TimeExceededMessagesReceived |
ICMPv6(Internet Control Message Protocol 버전 6) 수신된 시간 초과 메시지 수를 가져옵니다. |
| TimeExceededMessagesSent |
ICMPv6(Internet Control Message Protocol 버전 6) 보낸 시간 초과 메시지 수를 가져옵니다. |
메서드
| Name | Description |
|---|---|
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetHashCode() |
기본 해시 함수로 사용됩니다. (다음에서 상속됨 Object) |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ToString() |
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |