44 references to NetworkFiles
System.Net.NetworkInformation (44)
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 (6)
11
return StringParsingHelpers.ParseActiveTcpConnectionsFromFiles(Socket.OSSupportsIPv4 ?
NetworkFiles
.Tcp4ConnectionsFile : null,
12
Socket.OSSupportsIPv6 ?
NetworkFiles
.Tcp6ConnectionsFile : null);
17
return StringParsingHelpers.ParseActiveTcpListenersFromFiles(Socket.OSSupportsIPv4 ?
NetworkFiles
.Tcp4ConnectionsFile : null,
18
Socket.OSSupportsIPv6 ?
NetworkFiles
.Tcp6ConnectionsFile : null);
23
return StringParsingHelpers.ParseActiveUdpListenersFromFiles(Socket.OSSupportsIPv4 ?
NetworkFiles
.Udp4ConnectionsFile : null,
24
Socket.OSSupportsIPv6 ?
NetworkFiles
.Udp6ConnectionsFile : null);
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (10)
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);
36
string forwardingConfigFile = Path.Combine(
NetworkFiles
.Ipv6ConfigFolder,
37
NetworkFiles
.DefaultNetworkInterfaceFileName,
38
NetworkFiles
.ForwardingFileName);
42
_table.DefaultTtl = StringParsingHelpers.ParseDefaultTtlFromFile(
NetworkFiles
.SnmpV4StatsFile);
System\Net\NetworkInformation\LinuxIPInterfaceProperties.cs (4)
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 (3)
23
_table = StringParsingHelpers.ParseInterfaceStatisticsTableFromFile(
NetworkFiles
.InterfaceListingFile, name);
26
string transmitQueueLengthFilePath = Path.Combine(
NetworkFiles
.SysClassNetFolder, name,
NetworkFiles
.TransmitQueueLengthFileName);
System\Net\NetworkInformation\LinuxIPv4InterfaceProperties.cs (3)
41
Path.Join(
NetworkFiles
.Ipv4ConfigFolder, _linuxNetworkInterface.Name,
NetworkFiles
.ForwardingFileName),
43
NetworkFiles
.Ipv4GlobalForwardingFile
System\Net\NetworkInformation\LinuxNetworkInterface.cs (5)
32
if (File.Exists(
NetworkFiles
.Ipv4RouteFile))
36
IPv4Routes = File.ReadAllLines(
NetworkFiles
.Ipv4RouteFile);
43
if (File.Exists(
NetworkFiles
.Ipv6RouteFile))
47
IPv6Routes = File.ReadAllLines(
NetworkFiles
.Ipv6RouteFile);
56
string resolverConfig = File.ReadAllText(
NetworkFiles
.EtcResolvConfFile);
System\Net\NetworkInformation\LinuxTcpStatistics.cs (3)
15
_table = StringParsingHelpers.ParseTcpGlobalStatisticsFromSnmpFile(
NetworkFiles
.SnmpV4StatsFile);
17
string sockstatFile = ipv4 ?
NetworkFiles
.SockstatFile :
NetworkFiles
.Sockstat6File;
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\StringParsingHelpers.Misc.cs (2)
77
if (file.Name !=
NetworkFiles
.AllNetworkInterfaceFileName && file.Name !=
NetworkFiles
.DefaultNetworkInterfaceFileName)
System\Net\NetworkInformation\UnixIPInterfaceProperties.cs (2)
91
return StringParsingHelpers.ParseDnsSuffixFromResolvConfFile(File.ReadAllText(
NetworkFiles
.EtcResolvConfFile));
103
List<IPAddress> internalAddresses = StringParsingHelpers.ParseDnsAddressesFromResolvConfFile(File.ReadAllText(
NetworkFiles
.EtcResolvConfFile));