[Script Of Mar. 16] How to read IP header and its TCP header from RAW socket packet

image

Mar.

16

image

image

Script Download:   
The script is available for download from https://code.msdn.microsoft.com/How-to-read-IP-header-and-a754677a. You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

The C# sample code developed in .NET Framework 4.0 would demonstrate a network sniffer sample that can parse IP, TCP, UDP, and DNS packets.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery