Skip to content

Zelyson/Ping-C-Sharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping C#

This application is meant to test your home network, your network appliances or just for fun.

It does in no way shape or form encourage its use to perform illegal activities such as denial of service attacks or illegal usage in combination with or without other programs and/or services.

Usage

As this is an executable meant for cli usage, nothing will happen if you open the file from your file explorer. You have to open it directly from your command line. Three arguments need to be passed in:

  1. Ip adress
  2. number of times pinged
  3. timeout

Eg.:

ddos 192.168.178.1 5000 100

To ping endlessly use -1 in the second argument.

Dependencies

You have to have the .NET SDK installed on your machine in order to Build this project. To check if this is the case, open cmd or any cli on your machine and type:

dotnet --info

If the information it returns contains a tab called: .NET SDKs installed, you are all set up. If however it returns an error such as 'dotnet --info' is not recognized as an internal or external command, you need to install the .NET SKD. A download can be found here: https://dotnet.microsoft.com/download

Build

Navigate to the folder containing the Program.cs file and open a command prompt here. then type:

dotnet publish -c Release

A new folder named bin will appear. In there, navigate to Release then to net5.0 or net6.0 depending on what version of .NET you have installed. In the publish folder you will find the Ping_C# executable, which is the program you just built.

You can also use the MAKE.BAT file.

  • 05.05.2023

About

This C# script sends Ping requests.

Resources

Stars

Watchers

Forks

Packages

No packages published