- 16 May 2020
- 1,641
- 1,171
Hepinize merhaba TürkHackTeam mensupları, bu konumda kendi yazdığım "Port Checker"'ı vereceğim.
Program Adı: THT Special Port Checker
Program Boyutu: 32 KB
Yazıldığı Dil: C#
Kodları:
Program Adı: THT Special Port Checker
Program Boyutu: 32 KB
Yazıldığı Dil: C#
Kodları:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace THT_Special_Port_Checker
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
timer1.Start();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
TcpClient baglanti = new TcpClient();
baglanti.Connect(textBox1.Text, Convert.ToInt32(textBox2.Text));
MessageBox.Show("Port Kullanımda.");
}
catch (Exception)
{
MessageBox.Show("Port Kullanım Dışı.");
}
}
private int numberOfPoints = 0;
private void timer1_Tick(object sender, EventArgs e)
{
int maxPoints = 3;
label3.Text = "TürkHackTeam Port Checker by Nikon of Disast" + new string('.', numberOfPoints);
numberOfPoints = (numberOfPoints + 1) % (maxPoints + 1);
}
private void button2_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}
Programdan Görüntüler:
İndirme Linki ve Virüs Total:
İndir
VirusTotal
İsteklerinizi konu altına belirtiniz, projeyi paylaşma sebebim C# diline başlayacak dostlarımıza temel olmaktır.