I want to write a port scanner in C# and I can\'t use SocketType.Raw as raw sockets were taken out from desktop versions of windows. I can\'t use SharpPcap either or other w
Try running Visual Studio as Adminitrator
Right click ---> run as administrator
Then execute programs with raW sockets..