StringDictionary GetProperties6 (string item)
{
if (!File.Exists (StatisticsFileIPv6))
throw new NetworkInformationException ();
string file = StatisticsFileIPv6;
string head = item;
using (StreamReader sr = new StreamReader (file, Encoding.ASCII)) {
StringDictionary dic = new StringDictionary ();
string s = String.Empty;
do {
s = sr.ReadLine ();
if (String.IsNullOrEmpty (s))
continue;
if (s.Length <= head.Length || String.CompareOrdinal (s, 0, head, 0, head.Length) != 0)
continue;
int idx = s.IndexOfAny (wsChars, head.Length);
if (idx < 0)
throw CreateException (file, null);
dic [s.Substring (head.Length, idx - head.Length)] = s.Substring (idx + 1).Trim (wsChars);
} while (!sr.EndOfStream);
return dic;
}
}