Repository navigation
|
Hello, I would like to know what the argument in the "main" of example 2 is for: |
Answered by
kayoub5
Apr 19, 2025
Replies: 1 comment 4 replies
|
That's part of the .NET workflow, not specific to sharppcap. See https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/program-structure/main-command-line |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Main can only take strings as input, you can use
IPAddress.Parsefor that.See https://learn.microsoft.com/en-us/dotnet/api/system.net.ipaddress.parse?view=net-9.0
Those are generic .NET questions, with nothing to do with sharppcap, please consider using Google, stackoverflow, or ChatGPT.