System.Net.NetworkInformation
31 wrapped types. Load them with using { "System.Net.NetworkInformation" }. Click a class to open it.
GatewayIPAddressInformation class abstract
System.Net.NetworkInformation.GatewayIPAddressInformation · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Address | IPAddress | read | o.Address |
GatewayIPAddressInformationCollection class
System.Net.NetworkInformation.GatewayIPAddressInformationCollection · assembly System.Net.NetworkInformation
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → GatewayIPAddressInformation
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(GatewayIPAddressInformation address) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(GatewayIPAddressInformation address) |
CopyTo | CopyTo(p1,p2) | void CopyTo(GatewayIPAddressInformation[] array, int offset) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<GatewayIPAddressInformation> GetEnumerator() |
Remove | Remove(p1) | bool Remove(GatewayIPAddressInformation address) |
IcmpV4Statistics class abstract
System.Net.NetworkInformation.IcmpV4Statistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AddressMaskRepliesReceived | long | read | o.AddressMaskRepliesReceived |
AddressMaskRepliesSent | long | read | o.AddressMaskRepliesSent |
AddressMaskRequestsReceived | long | read | o.AddressMaskRequestsReceived |
AddressMaskRequestsSent | long | read | o.AddressMaskRequestsSent |
DestinationUnreachableMessagesReceived | long | read | o.DestinationUnreachableMessagesReceived |
DestinationUnreachableMessagesSent | long | read | o.DestinationUnreachableMessagesSent |
EchoRepliesReceived | long | read | o.EchoRepliesReceived |
EchoRepliesSent | long | read | o.EchoRepliesSent |
EchoRequestsReceived | long | read | o.EchoRequestsReceived |
EchoRequestsSent | long | read | o.EchoRequestsSent |
ErrorsReceived | long | read | o.ErrorsReceived |
ErrorsSent | long | read | o.ErrorsSent |
MessagesReceived | long | read | o.MessagesReceived |
MessagesSent | long | read | o.MessagesSent |
ParameterProblemsReceived | long | read | o.ParameterProblemsReceived |
ParameterProblemsSent | long | read | o.ParameterProblemsSent |
RedirectsReceived | long | read | o.RedirectsReceived |
RedirectsSent | long | read | o.RedirectsSent |
SourceQuenchesReceived | long | read | o.SourceQuenchesReceived |
SourceQuenchesSent | long | read | o.SourceQuenchesSent |
TimeExceededMessagesReceived | long | read | o.TimeExceededMessagesReceived |
TimeExceededMessagesSent | long | read | o.TimeExceededMessagesSent |
TimestampRepliesReceived | long | read | o.TimestampRepliesReceived |
TimestampRepliesSent | long | read | o.TimestampRepliesSent |
TimestampRequestsReceived | long | read | o.TimestampRequestsReceived |
TimestampRequestsSent | long | read | o.TimestampRequestsSent |
IcmpV6Statistics class abstract
System.Net.NetworkInformation.IcmpV6Statistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DestinationUnreachableMessagesReceived | long | read | o.DestinationUnreachableMessagesReceived |
DestinationUnreachableMessagesSent | long | read | o.DestinationUnreachableMessagesSent |
EchoRepliesReceived | long | read | o.EchoRepliesReceived |
EchoRepliesSent | long | read | o.EchoRepliesSent |
EchoRequestsReceived | long | read | o.EchoRequestsReceived |
EchoRequestsSent | long | read | o.EchoRequestsSent |
ErrorsReceived | long | read | o.ErrorsReceived |
ErrorsSent | long | read | o.ErrorsSent |
MembershipQueriesReceived | long | read | o.MembershipQueriesReceived |
MembershipQueriesSent | long | read | o.MembershipQueriesSent |
MembershipReductionsReceived | long | read | o.MembershipReductionsReceived |
MembershipReductionsSent | long | read | o.MembershipReductionsSent |
MembershipReportsReceived | long | read | o.MembershipReportsReceived |
MembershipReportsSent | long | read | o.MembershipReportsSent |
MessagesReceived | long | read | o.MessagesReceived |
MessagesSent | long | read | o.MessagesSent |
NeighborAdvertisementsReceived | long | read | o.NeighborAdvertisementsReceived |
NeighborAdvertisementsSent | long | read | o.NeighborAdvertisementsSent |
NeighborSolicitsReceived | long | read | o.NeighborSolicitsReceived |
NeighborSolicitsSent | long | read | o.NeighborSolicitsSent |
PacketTooBigMessagesReceived | long | read | o.PacketTooBigMessagesReceived |
PacketTooBigMessagesSent | long | read | o.PacketTooBigMessagesSent |
ParameterProblemsReceived | long | read | o.ParameterProblemsReceived |
ParameterProblemsSent | long | read | o.ParameterProblemsSent |
RedirectsReceived | long | read | o.RedirectsReceived |
RedirectsSent | long | read | o.RedirectsSent |
RouterAdvertisementsReceived | long | read | o.RouterAdvertisementsReceived |
RouterAdvertisementsSent | long | read | o.RouterAdvertisementsSent |
RouterSolicitsReceived | long | read | o.RouterSolicitsReceived |
RouterSolicitsSent | long | read | o.RouterSolicitsSent |
TimeExceededMessagesReceived | long | read | o.TimeExceededMessagesReceived |
TimeExceededMessagesSent | long | read | o.TimeExceededMessagesSent |
IPAddressCollection class
System.Net.NetworkInformation.IPAddressCollection · assembly System.Net.Primitives
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → IPAddress
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(IPAddress address) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(IPAddress address) |
CopyTo | CopyTo(p1,p2) | void CopyTo(IPAddress[] array, int offset) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<IPAddress> GetEnumerator() |
Remove | Remove(p1) | bool Remove(IPAddress address) |
IPAddressInformation class abstract
System.Net.NetworkInformation.IPAddressInformation · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Address | IPAddress | read | o.Address |
IsDnsEligible | bool | read | o.IsDnsEligible |
IsTransient | bool | read | o.IsTransient |
IPAddressInformationCollection class
System.Net.NetworkInformation.IPAddressInformationCollection · assembly System.Net.NetworkInformation
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → IPAddressInformation
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(IPAddressInformation address) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(IPAddressInformation address) |
CopyTo | CopyTo(p1,p2) | void CopyTo(IPAddressInformation[] array, int offset) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<IPAddressInformation> GetEnumerator() |
Remove | Remove(p1) | bool Remove(IPAddressInformation address) |
IPGlobalProperties class abstract
System.Net.NetworkInformation.IPGlobalProperties · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DhcpScopeName | string | read | o.DhcpScopeName |
DomainName | string | read | o.DomainName |
HostName | string | read | o.HostName |
IsWinsProxy | bool | read | o.IsWinsProxy |
NodeType | NetBiosNodeType | read | o.NodeType |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginGetUnicastAddresses | callMethod("BeginGetUnicastAddresses",[p1,p2]) | IAsyncResult BeginGetUnicastAddresses(AsyncCallback callback, object state) |
EndGetUnicastAddresses | callMethod("EndGetUnicastAddresses",[p1]) | UnicastIPAddressInformationCollection EndGetUnicastAddresses(IAsyncResult asyncResult) |
GetActiveTcpConnections | callMethod("GetActiveTcpConnections",[]) | TcpConnectionInformation[] GetActiveTcpConnections() |
GetActiveTcpListeners | callMethod("GetActiveTcpListeners",[]) | IPEndPoint[] GetActiveTcpListeners() |
GetActiveUdpListeners | callMethod("GetActiveUdpListeners",[]) | IPEndPoint[] GetActiveUdpListeners() |
GetIcmpV4Statistics | callMethod("GetIcmpV4Statistics",[]) | IcmpV4Statistics GetIcmpV4Statistics() |
GetIcmpV6Statistics | callMethod("GetIcmpV6Statistics",[]) | IcmpV6Statistics GetIcmpV6Statistics() |
GetIPGlobalProperties | GetIPGlobalProperties() | static IPGlobalProperties GetIPGlobalProperties() |
GetIPv4GlobalStatistics | callMethod("GetIPv4GlobalStatistics",[]) | IPGlobalStatistics GetIPv4GlobalStatistics() |
GetIPv6GlobalStatistics | callMethod("GetIPv6GlobalStatistics",[]) | IPGlobalStatistics GetIPv6GlobalStatistics() |
GetTcpIPv4Statistics | callMethod("GetTcpIPv4Statistics",[]) | TcpStatistics GetTcpIPv4Statistics() |
GetTcpIPv6Statistics | callMethod("GetTcpIPv6Statistics",[]) | TcpStatistics GetTcpIPv6Statistics() |
GetUdpIPv4Statistics | callMethod("GetUdpIPv4Statistics",[]) | UdpStatistics GetUdpIPv4Statistics() |
GetUdpIPv6Statistics | callMethod("GetUdpIPv6Statistics",[]) | UdpStatistics GetUdpIPv6Statistics() |
GetUnicastAddresses | callMethod("GetUnicastAddresses",[]) | UnicastIPAddressInformationCollection GetUnicastAddresses() |
GetUnicastAddressesAsync | callMethod("GetUnicastAddressesAsync",[]) | Task<UnicastIPAddressInformationCollection> GetUnicastAddressesAsync() |
IPGlobalStatistics class abstract
System.Net.NetworkInformation.IPGlobalStatistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultTtl | int | read | o.DefaultTtl |
ForwardingEnabled | bool | read | o.ForwardingEnabled |
NumberOfInterfaces | int | read | o.NumberOfInterfaces |
NumberOfIPAddresses | int | read | o.NumberOfIPAddresses |
OutputPacketRequests | long | read | o.OutputPacketRequests |
OutputPacketRoutingDiscards | long | read | o.OutputPacketRoutingDiscards |
OutputPacketsDiscarded | long | read | o.OutputPacketsDiscarded |
OutputPacketsWithNoRoute | long | read | o.OutputPacketsWithNoRoute |
PacketFragmentFailures | long | read | o.PacketFragmentFailures |
PacketReassembliesRequired | long | read | o.PacketReassembliesRequired |
PacketReassemblyFailures | long | read | o.PacketReassemblyFailures |
PacketReassemblyTimeout | long | read | o.PacketReassemblyTimeout |
PacketsFragmented | long | read | o.PacketsFragmented |
PacketsReassembled | long | read | o.PacketsReassembled |
ReceivedPackets | long | read | o.ReceivedPackets |
ReceivedPacketsDelivered | long | read | o.ReceivedPacketsDelivered |
ReceivedPacketsDiscarded | long | read | o.ReceivedPacketsDiscarded |
ReceivedPacketsForwarded | long | read | o.ReceivedPacketsForwarded |
ReceivedPacketsWithAddressErrors | long | read | o.ReceivedPacketsWithAddressErrors |
ReceivedPacketsWithHeadersErrors | long | read | o.ReceivedPacketsWithHeadersErrors |
ReceivedPacketsWithUnknownProtocol | long | read | o.ReceivedPacketsWithUnknownProtocol |
NumberOfRoutes | int | read | o.NumberOfRoutes |
IPInterfaceProperties class abstract
System.Net.NetworkInformation.IPInterfaceProperties · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsDnsEnabled | bool | read | o.IsDnsEnabled |
DnsSuffix | string | read | o.DnsSuffix |
IsDynamicDnsEnabled | bool | read | o.IsDynamicDnsEnabled |
UnicastAddresses | UnicastIPAddressInformationCollection | read | o.UnicastAddresses |
MulticastAddresses | MulticastIPAddressInformationCollection | read | o.MulticastAddresses |
AnycastAddresses | IPAddressInformationCollection | read | o.AnycastAddresses |
DnsAddresses | IPAddressCollection | read | o.DnsAddresses |
GatewayAddresses | GatewayIPAddressInformationCollection | read | o.GatewayAddresses |
DhcpServerAddresses | IPAddressCollection | read | o.DhcpServerAddresses |
WinsServersAddresses | IPAddressCollection | read | o.WinsServersAddresses |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetIPv4Properties | callMethod("GetIPv4Properties",[]) | IPv4InterfaceProperties GetIPv4Properties() |
GetIPv6Properties | callMethod("GetIPv6Properties",[]) | IPv6InterfaceProperties GetIPv6Properties() |
IPInterfaceStatistics class abstract
System.Net.NetworkInformation.IPInterfaceStatistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BytesReceived | long | read | o.BytesReceived |
BytesSent | long | read | o.BytesSent |
IncomingPacketsDiscarded | long | read | o.IncomingPacketsDiscarded |
IncomingPacketsWithErrors | long | read | o.IncomingPacketsWithErrors |
IncomingUnknownProtocolPackets | long | read | o.IncomingUnknownProtocolPackets |
NonUnicastPacketsReceived | long | read | o.NonUnicastPacketsReceived |
NonUnicastPacketsSent | long | read | o.NonUnicastPacketsSent |
OutgoingPacketsDiscarded | long | read | o.OutgoingPacketsDiscarded |
OutgoingPacketsWithErrors | long | read | o.OutgoingPacketsWithErrors |
OutputQueueLength | long | read | o.OutputQueueLength |
UnicastPacketsReceived | long | read | o.UnicastPacketsReceived |
UnicastPacketsSent | long | read | o.UnicastPacketsSent |
IPv4InterfaceProperties class abstract
System.Net.NetworkInformation.IPv4InterfaceProperties · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UsesWins | bool | read | o.UsesWins |
IsDhcpEnabled | bool | read | o.IsDhcpEnabled |
IsAutomaticPrivateAddressingActive | bool | read | o.IsAutomaticPrivateAddressingActive |
IsAutomaticPrivateAddressingEnabled | bool | read | o.IsAutomaticPrivateAddressingEnabled |
Index | int | read | o.Index |
IsForwardingEnabled | bool | read | o.IsForwardingEnabled |
Mtu | int | read | o.Mtu |
IPv4InterfaceStatistics class abstract
System.Net.NetworkInformation.IPv4InterfaceStatistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BytesReceived | long | read | o.BytesReceived |
BytesSent | long | read | o.BytesSent |
IncomingPacketsDiscarded | long | read | o.IncomingPacketsDiscarded |
IncomingPacketsWithErrors | long | read | o.IncomingPacketsWithErrors |
IncomingUnknownProtocolPackets | long | read | o.IncomingUnknownProtocolPackets |
NonUnicastPacketsReceived | long | read | o.NonUnicastPacketsReceived |
NonUnicastPacketsSent | long | read | o.NonUnicastPacketsSent |
OutgoingPacketsDiscarded | long | read | o.OutgoingPacketsDiscarded |
OutgoingPacketsWithErrors | long | read | o.OutgoingPacketsWithErrors |
OutputQueueLength | long | read | o.OutputQueueLength |
UnicastPacketsReceived | long | read | o.UnicastPacketsReceived |
UnicastPacketsSent | long | read | o.UnicastPacketsSent |
IPv6InterfaceProperties class abstract
System.Net.NetworkInformation.IPv6InterfaceProperties · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Index | int | read | o.Index |
Mtu | int | read | o.Mtu |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetScopeId | GetScopeId(p1) | long GetScopeId(ScopeLevel scopeLevel) |
MulticastIPAddressInformation class abstract · extends IPAddressInformation
System.Net.NetworkInformation.MulticastIPAddressInformation · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AddressPreferredLifetime | long | read | o.AddressPreferredLifetime |
AddressValidLifetime | long | read | o.AddressValidLifetime |
DhcpLeaseLifetime | long | read | o.DhcpLeaseLifetime |
DuplicateAddressDetectionState | DuplicateAddressDetectionState | read | o.DuplicateAddressDetectionState |
PrefixOrigin | PrefixOrigin | read | o.PrefixOrigin |
SuffixOrigin | SuffixOrigin | read | o.SuffixOrigin |
Members of the base class are inherited.
MulticastIPAddressInformationCollection class
System.Net.NetworkInformation.MulticastIPAddressInformationCollection · assembly System.Net.NetworkInformation
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → MulticastIPAddressInformation
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(MulticastIPAddressInformation address) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(MulticastIPAddressInformation address) |
CopyTo | CopyTo(p1,p2) | void CopyTo(MulticastIPAddressInformation[] array, int offset) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<MulticastIPAddressInformation> GetEnumerator() |
Remove | Remove(p1) | bool Remove(MulticastIPAddressInformation address) |
NetworkAvailabilityEventArgs class · extends EventArgs
System.Net.NetworkInformation.NetworkAvailabilityEventArgs · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsAvailable | bool | read | o.IsAvailable |
Members of the base class are inherited.
NetworkChange class
System.Net.NetworkInformation.NetworkChange · assembly System.Net.NetworkInformation
Constructors
new NetworkChange() |
Ring: new NetworkChange(args) uses one constructor; the others are chosen by the parameter names: new NetworkChange().@New([ :param = value ]) or dnNew("NetworkChange",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
RegisterNetworkChange | RegisterNetworkChange(p1) | static void RegisterNetworkChange(NetworkChange nc) |
Events
| Event | Handler type | In Ring |
|---|---|---|
NetworkAvailabilityChanged | NetworkAvailabilityChangedEventHandler | o.setNetworkAvailabilityChangedEvent(code) · o.clearNetworkAvailabilityChangedEvent() |
NetworkAddressChanged | NetworkAddressChangedEventHandler | o.setNetworkAddressChangedEvent(code) · o.clearNetworkAddressChangedEvent() |
NetworkInformationException class · extends Win32Exception
System.Net.NetworkInformation.NetworkInformationException · assembly System.Net.NetworkInformation
Implements: ISerializable
Constructors
new NetworkInformationException() |
new NetworkInformationException(int errorCode) |
Ring: new NetworkInformationException(args) uses one constructor; the others are chosen by the parameter names: new NetworkInformationException().@New([ :param = value ]) or dnNew("NetworkInformationException",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ErrorCode | int | read | o.getErrorCode() |
Members of the base class are inherited.
NetworkInterface class abstract
System.Net.NetworkInformation.NetworkInterface · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Id | string | read | o.Id |
Name | string | read | o.Name |
Description | string | read | o.Description |
OperationalStatus | OperationalStatus | read | o.OperationalStatus |
Speed | long | read | o.Speed |
IsReceiveOnly | bool | read | o.IsReceiveOnly |
SupportsMulticast | bool | read | o.SupportsMulticast |
NetworkInterfaceType | NetworkInterfaceType | read | o.NetworkInterfaceType |
IPv6LoopbackInterfaceIndex | int | read · static | o.IPv6LoopbackInterfaceIndex |
LoopbackInterfaceIndex | int | read · static | o.LoopbackInterfaceIndex |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetAllNetworkInterfaces | GetAllNetworkInterfaces() | static NetworkInterface[] GetAllNetworkInterfaces() |
GetIPProperties | callMethod("GetIPProperties",[]) | IPInterfaceProperties GetIPProperties() |
GetIPStatistics | callMethod("GetIPStatistics",[]) | IPInterfaceStatistics GetIPStatistics() |
GetIPv4Statistics | callMethod("GetIPv4Statistics",[]) | IPv4InterfaceStatistics GetIPv4Statistics() |
GetIsNetworkAvailable | callMethod("GetIsNetworkAvailable",[]) | static bool GetIsNetworkAvailable() |
GetPhysicalAddress | callMethod("GetPhysicalAddress",[]) | PhysicalAddress GetPhysicalAddress() |
Supports | Supports(p1) | bool Supports(NetworkInterfaceComponent networkInterfaceComponent) |
PhysicalAddress class
System.Net.NetworkInformation.PhysicalAddress · assembly System.Net.NetworkInformation
Constructors
new PhysicalAddress(byte[] address) |
Ring: new PhysicalAddress(args) uses one constructor; the others are chosen by the parameter names: new PhysicalAddress().@New([ :param = value ]) or dnNew("PhysicalAddress",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
None | PhysicalAddress | read · static | o.None |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object comparand) |
GetAddressBytes | callMethod("GetAddressBytes",[]) | byte[] GetAddressBytes() |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Parse | Parse(p1) | static PhysicalAddress Parse(string address)static PhysicalAddress Parse(ReadOnlySpan<char> address) |
ToString | callMethod("ToString",[]) | string ToString() |
TryParse | TryParse(p1) | static bool TryParse(string address, out PhysicalAddress value)static bool TryParse(ReadOnlySpan<char> address, out PhysicalAddress value) |
Ping class · extends Component
System.Net.NetworkInformation.Ping · assembly System.Net.Ping
Implements: IComponent, IDisposable
Constructors
new Ping() |
Ring: new Ping(args) uses one constructor; the others are chosen by the parameter names: new Ping().@New([ :param = value ]) or dnNew("Ping",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Send | Send(value)Send([ :hostNameOrAddress = … ])Send([ :address = … ])Send([ :hostNameOrAddress = …, :timeout = … ])Send([ :address = …, :timeout = … ]) | PingReply Send(string hostNameOrAddress)PingReply Send(string hostNameOrAddress, int timeout)PingReply Send(IPAddress address)PingReply Send(IPAddress address, int timeout)PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer)PingReply Send(IPAddress address, int timeout, byte[] buffer)PingReply Send(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options)PingReply Send(IPAddress address, int timeout, byte[] buffer, PingOptions options)PingReply Send(IPAddress address, TimeSpan timeout, byte[] buffer = …, PingOptions options = …)PingReply Send(string hostNameOrAddress, TimeSpan timeout, byte[] buffer = …, PingOptions options = …) |
SendAsync | SendAsync([ :hostNameOrAddress = …, :userToken = … ])SendAsync([ :address = …, :userToken = … ])SendAsync([ :hostNameOrAddress = …, :timeout = …, :userToken = … ])SendAsync([ :address = …, :timeout = …, :userToken = … ]) | void SendAsync(string hostNameOrAddress, object userToken)void SendAsync(string hostNameOrAddress, int timeout, object userToken)void SendAsync(IPAddress address, object userToken)void SendAsync(IPAddress address, int timeout, object userToken)void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, object userToken)void SendAsync(IPAddress address, int timeout, byte[] buffer, object userToken)void SendAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options, object userToken)void SendAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options, object userToken) |
SendAsyncCancel | callMethod("SendAsyncCancel",[]) | void SendAsyncCancel() |
SendPingAsync | SendPingAsync(value)SendPingAsync([ :address = … ])SendPingAsync([ :hostNameOrAddress = … ])SendPingAsync([ :address = …, :timeout = … ])SendPingAsync([ :hostNameOrAddress = …, :timeout = … ]) | Task<PingReply> SendPingAsync(IPAddress address)Task<PingReply> SendPingAsync(string hostNameOrAddress)Task<PingReply> SendPingAsync(IPAddress address, int timeout)Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout)Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer)Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer)Task<PingReply> SendPingAsync(IPAddress address, int timeout, byte[] buffer, PingOptions options)Task<PingReply> SendPingAsync(IPAddress address, TimeSpan timeout, byte[] buffer = …, PingOptions options = …, CancellationToken cancellationToken = …)Task<PingReply> SendPingAsync(string hostNameOrAddress, int timeout, byte[] buffer, PingOptions options)Task<PingReply> SendPingAsync(string hostNameOrAddress, TimeSpan timeout, byte[] buffer = …, PingOptions options = …, CancellationToken cancellationToken = …) |
Events
| Event | Handler type | In Ring |
|---|---|---|
PingCompleted | PingCompletedEventHandler | o.setPingCompletedEvent(code) · o.clearPingCompletedEvent() |
Members of the base class are inherited.
PingCompletedEventArgs class · extends AsyncCompletedEventArgs
System.Net.NetworkInformation.PingCompletedEventArgs · assembly System.Net.Ping
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Reply | PingReply | read | o.Reply |
Members of the base class are inherited.
PingException class · extends InvalidOperationException
System.Net.NetworkInformation.PingException · assembly System.Net.Ping
Implements: ISerializable
Constructors
new PingException(string message) |
new PingException(string message, Exception innerException) |
Ring: new PingException(args) uses one constructor; the others are chosen by the parameter names: new PingException().@New([ :param = value ]) or dnNew("PingException",[ :param = value ]).
Members of the base class are inherited.
PingOptions class
System.Net.NetworkInformation.PingOptions · assembly System.Net.Ping
Constructors
new PingOptions() |
new PingOptions(int ttl, bool dontFragment) |
Ring: new PingOptions(args) uses one constructor; the others are chosen by the parameter names: new PingOptions().@New([ :param = value ]) or dnNew("PingOptions",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Ttl | int | read, write | o.Ttl o.Ttl = v |
DontFragment | bool | read, write | o.DontFragment o.DontFragment = v |
PingReply class
System.Net.NetworkInformation.PingReply · assembly System.Net.Ping
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Status | IPStatus | read | o.Status |
Address | IPAddress | read | o.Address |
RoundtripTime | long | read | o.RoundtripTime |
Options | PingOptions | read | o.Options |
Buffer | byte[] | read | o.Buffer |
TcpConnectionInformation class abstract
System.Net.NetworkInformation.TcpConnectionInformation · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LocalEndPoint | IPEndPoint | read | o.LocalEndPoint |
RemoteEndPoint | IPEndPoint | read | o.RemoteEndPoint |
State | TcpState | read | o.State |
TcpStatistics class abstract
System.Net.NetworkInformation.TcpStatistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ConnectionsAccepted | long | read | o.ConnectionsAccepted |
ConnectionsInitiated | long | read | o.ConnectionsInitiated |
CumulativeConnections | long | read | o.CumulativeConnections |
CurrentConnections | long | read | o.CurrentConnections |
ErrorsReceived | long | read | o.ErrorsReceived |
FailedConnectionAttempts | long | read | o.FailedConnectionAttempts |
MaximumConnections | long | read | o.MaximumConnections |
MaximumTransmissionTimeout | long | read | o.MaximumTransmissionTimeout |
MinimumTransmissionTimeout | long | read | o.MinimumTransmissionTimeout |
ResetConnections | long | read | o.ResetConnections |
SegmentsReceived | long | read | o.SegmentsReceived |
SegmentsResent | long | read | o.SegmentsResent |
SegmentsSent | long | read | o.SegmentsSent |
ResetsSent | long | read | o.ResetsSent |
UdpStatistics class abstract
System.Net.NetworkInformation.UdpStatistics · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DatagramsReceived | long | read | o.DatagramsReceived |
DatagramsSent | long | read | o.DatagramsSent |
IncomingDatagramsDiscarded | long | read | o.IncomingDatagramsDiscarded |
IncomingDatagramsWithErrors | long | read | o.IncomingDatagramsWithErrors |
UdpListeners | int | read | o.UdpListeners |
UnicastIPAddressInformation class abstract · extends IPAddressInformation
System.Net.NetworkInformation.UnicastIPAddressInformation · assembly System.Net.NetworkInformation
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
AddressPreferredLifetime | long | read | o.AddressPreferredLifetime |
AddressValidLifetime | long | read | o.AddressValidLifetime |
DhcpLeaseLifetime | long | read | o.DhcpLeaseLifetime |
DuplicateAddressDetectionState | DuplicateAddressDetectionState | read | o.DuplicateAddressDetectionState |
PrefixOrigin | PrefixOrigin | read | o.PrefixOrigin |
SuffixOrigin | SuffixOrigin | read | o.SuffixOrigin |
IPv4Mask | IPAddress | read | o.IPv4Mask |
PrefixLength | int | read | o.PrefixLength |
Members of the base class are inherited.
UnicastIPAddressInformationCollection class
System.Net.NetworkInformation.UnicastIPAddressInformationCollection · assembly System.Net.NetworkInformation
Implements: IEnumerable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
IsReadOnly | bool | read | o.IsReadOnly |
Indexer
o.Item(int index) → UnicastIPAddressInformation
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | Add(p1) | void Add(UnicastIPAddressInformation address) |
Clear | callMethod("Clear",[]) | void Clear() |
Contains | Contains(p1) | bool Contains(UnicastIPAddressInformation address) |
CopyTo | CopyTo(p1,p2) | void CopyTo(UnicastIPAddressInformation[] array, int offset) |
GetEnumerator | callMethod("GetEnumerator",[]) | IEnumerator<UnicastIPAddressInformation> GetEnumerator() |
Remove | Remove(p1) | bool Remove(UnicastIPAddressInformation address) |