コード例 #1
0
        static void TestExisting()
        {
            foreach (FileInfo f in new DirectoryInfo("F:\\pkts").GetFiles("*.dmp"))
            {
                DnsResponse rs = new DnsResponse(IPAddress.Any, File.ReadAllBytes(f.FullName));

                Console.WriteLine(rs.ToString());
                Debug.WriteLine(rs.ToString());
            }
        }
コード例 #2
0
ファイル: DnsResponse.cs プロジェクト: riiiqpl/sharpsvn
        static void TestExisting()
        {
            foreach (FileInfo f in new DirectoryInfo("F:\\pkts").GetFiles("*.dmp"))
            {
                DnsResponse rs = new DnsResponse(IPAddress.Any, File.ReadAllBytes(f.FullName));

                Console.WriteLine(rs.ToString());
                Debug.WriteLine(rs.ToString());
            }
        }