32 references to StringParsingHelpers
System.Net.NetworkInformation (32)
System\Net\NetworkInformation\LinuxIcmpV4Statistics.cs (1)
13
_table =
StringParsingHelpers
.ParseIcmpv4FromSnmpFile(NetworkFiles.SnmpV4StatsFile);
System\Net\NetworkInformation\LinuxIcmpV6Statistics.cs (1)
12
_table =
StringParsingHelpers
.ParseIcmpv6FromSnmp6File(NetworkFiles.SnmpV6StatsFile);
System\Net\NetworkInformation\LinuxIPGlobalProperties.cs (3)
11
return
StringParsingHelpers
.ParseActiveTcpConnectionsFromFiles(Socket.OSSupportsIPv4 ? NetworkFiles.Tcp4ConnectionsFile : null,
17
return
StringParsingHelpers
.ParseActiveTcpListenersFromFiles(Socket.OSSupportsIPv4 ? NetworkFiles.Tcp4ConnectionsFile : null,
23
return
StringParsingHelpers
.ParseActiveUdpListenersFromFiles(Socket.OSSupportsIPv4 ? NetworkFiles.Udp4ConnectionsFile : null,
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (8)
25
_table =
StringParsingHelpers
.ParseIPv4GlobalStatisticsFromSnmpFile(NetworkFiles.SnmpV4StatsFile);
26
_numRoutes =
StringParsingHelpers
.ParseNumRoutesFromRouteFile(NetworkFiles.Ipv4RouteFile);
27
_numInterfaces =
StringParsingHelpers
.ParseNumIPInterfaces(NetworkFiles.Ipv4ConfigFolder);
31
_table =
StringParsingHelpers
.ParseIPv6GlobalStatisticsFromSnmp6File(NetworkFiles.SnmpV6StatsFile);
32
_numRoutes =
StringParsingHelpers
.ParseNumRoutesFromRouteFile(NetworkFiles.Ipv6RouteFile);
33
_numInterfaces =
StringParsingHelpers
.ParseNumIPInterfaces(NetworkFiles.Ipv6ConfigFolder);
39
_table.Forwarding =
StringParsingHelpers
.ParseRawIntFile(forwardingConfigFile) == 1;
42
_table.DefaultTtl =
StringParsingHelpers
.ParseDefaultTtlFromFile(NetworkFiles.SnmpV4StatsFile);
System\Net\NetworkInformation\LinuxIPInterfaceProperties.cs (6)
62
StringParsingHelpers
.ParseIPv4GatewayAddressesFromRouteFile(collection, systemProperties.IPv4Routes, _linuxNetworkInterface.Name);
67
StringParsingHelpers
.ParseIPv6GatewayAddressesFromRouteFile(collection, systemProperties.IPv6Routes, _linuxNetworkInterface.Name, _linuxNetworkInterface.Index);
77
StringParsingHelpers
.ParseDhcpServerAddressesFromLeasesFile(internalCollection, NetworkFiles.DHClientLeasesFile, _linuxNetworkInterface.Name);
78
StringParsingHelpers
.ParseDhcpServerAddressesFromLeasesFile(internalCollection, string.Format(NetworkFiles.DHClientInterfaceLeasesFile, _linuxNetworkInterface.Name), _linuxNetworkInterface.Name);
79
StringParsingHelpers
.ParseDhcpServerAddressesFromLeasesFile(internalCollection, string.Format(NetworkFiles.DHClientSecondaryInterfaceLeasesFile, _linuxNetworkInterface.Name), _linuxNetworkInterface.Name);
87
=
StringParsingHelpers
.ParseWinsServerAddressesFromSmbConfFile(NetworkFiles.SmbConfFile);
System\Net\NetworkInformation\LinuxIPInterfaceStatistics.cs (2)
23
_table =
StringParsingHelpers
.ParseInterfaceStatisticsTableFromFile(NetworkFiles.InterfaceListingFile, name);
27
_transmitQueueLength =
StringParsingHelpers
.ParseRawIntFile(transmitQueueLengthFilePath);
System\Net\NetworkInformation\LinuxIPv4InterfaceProperties.cs (1)
53
return
StringParsingHelpers
.ParseRawIntFile(paths[i]) == 1;
System\Net\NetworkInformation\LinuxNetworkInterface.cs (2)
57
DnsSuffix =
StringParsingHelpers
.ParseDnsSuffixFromResolvConfFile(resolverConfig);
58
DnsAddresses = new InternalIPAddressCollection(
StringParsingHelpers
.ParseDnsAddressesFromResolvConfFile(resolverConfig));
System\Net\NetworkInformation\LinuxTcpStatistics.cs (2)
15
_table =
StringParsingHelpers
.ParseTcpGlobalStatisticsFromSnmpFile(NetworkFiles.SnmpV4StatsFile);
19
_currentConnections =
StringParsingHelpers
.ParseNumSocketConnections(sockstatFile, protoName);
System\Net\NetworkInformation\LinuxUdpStatistics.cs (4)
18
_table =
StringParsingHelpers
.ParseUdpv4GlobalStatisticsFromSnmpFile(NetworkFiles.SnmpV4StatsFile);
19
_udpListeners =
StringParsingHelpers
.ParseNumSocketConnections(NetworkFiles.SockstatFile, "UDP");
23
_table =
StringParsingHelpers
.ParseUdpv6GlobalStatisticsFromSnmp6File(NetworkFiles.SnmpV6StatsFile);
24
_udpListeners =
StringParsingHelpers
.ParseNumSocketConnections(NetworkFiles.Sockstat6File, "UDP6");
System\Net\NetworkInformation\UnixIPInterfaceProperties.cs (2)
103
return
StringParsingHelpers
.ParseDnsSuffixFromResolvConfFile(File.ReadAllText(NetworkFiles.EtcResolvConfFile));
115
List<IPAddress> internalAddresses =
StringParsingHelpers
.ParseDnsAddressesFromResolvConfFile(File.ReadAllText(NetworkFiles.EtcResolvConfFile));