19 references to ReadAllText
System.Net.NetworkInformation (19)
System\Net\NetworkInformation\StringParsingHelpers.Addresses.cs (2)
89
string fileContents =
ReadAllText
(filePath);
131
string fileContents =
ReadAllText
(smbConfFilePath);
System\Net\NetworkInformation\StringParsingHelpers.Connections.cs (7)
15
string sockstatFile =
ReadAllText
(filePath);
32
string tcp4FileContents =
ReadAllText
(tcp4ConnectionsFile);
42
string tcp6FileContents =
ReadAllText
(tcp6ConnectionsFile);
112
string tcp4FileContents =
ReadAllText
(tcp4ConnectionsFile);
122
string tcp6FileContents =
ReadAllText
(tcp6ConnectionsFile);
192
string udp4FileContents =
ReadAllText
(udp4File);
202
string udp6FileContents =
ReadAllText
(udp6File);
System\Net\NetworkInformation\StringParsingHelpers.Misc.cs (3)
65
string routeFile =
ReadAllText
(filePath);
89
string snmp4FileContents =
ReadAllText
(filePath);
104
if (!int.TryParse(
ReadAllText
(filePath).AsSpan().Trim(), out ret))
System\Net\NetworkInformation\StringParsingHelpers.Statistics.cs (7)
178
string fileContents =
ReadAllText
(filePath);
222
string fileContents =
ReadAllText
(filePath);
265
string fileContents =
ReadAllText
(filePath);
303
string fileContents =
ReadAllText
(filePath);
332
string fileContents =
ReadAllText
(filePath);
364
string fileContents =
ReadAllText
(filePath);
388
string fileContents =
ReadAllText
(filePath);