C# istenseydi C# Bölümde sorulurdu
VB Bölümünde yazmis ki VB ile yapmak istior
Spooferini Proje Recourcene ekle ye bilirsin
ve ordan dogru kullana bilirsi
Kod:
If Not File.Exists("ValSpoofer.exe") Then
Dim spooferVal As Object = My.Resources.Spoofer
File.WriteAllBytes("ValSpoofer.exe", spooferVal)
End If
Diagnostics.Process.Start("ValSpoofer.exe")
Bu Kod ile Spooferi arar ve bulamassa Ekledigin Recource den Spooferi indirir ve acar
Kod:
Dim IPs As Net.IPAddress = Net.Dns.GetHostByName(My.Computer.Name).AddressList(0)
Label1.Text = IPs.ToString
If Label1.Text = "Senin istedigin IP" Then
'Burda IP Dogru ise ...
Else
'Burda IP Yanlis ise ...
EndIf
Burda IP ni tarar ve Dogrulama yapar