DOWNLOAD
Source code:
Code:
Imports System.Net
Imports System.Net.NetworkInformation
Imports System.Text
Public Class Form1
Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
Timer1.Interval = (TextBox1.Text)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Stop()
Label1.Text = Val(Label1.Text)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Me.Close()
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Try
Dim ping As Ping = New Ping()
Dim pingreply As PingReply = ping.Send(txtHost.Text)
txtPing.Text &= " Address: " & pingreply.Address.ToString() & Constants.vbCr
txtPing.Text &= " Roundtrip Time: " & pingreply.RoundtripTime & Constants.vbCr
txtPing.Text &= " TTL (Time To Live): " & pingreply.Options.Ttl & Constants.vbCr
txtPing.Text &= " Buffer Size: " & pingreply.Buffer.Length.ToString() & Constants.vbCr
txtPing.Text &=
" AcidCat
"
Catch
End Try
Label1.Text = Val(Label1.Text + 1)
End Sub
End Class
Virus scan:
Code:
FILE IS CLEAN!
F-Prot
Results:
Files: 1
Objects scanned: 1
Infected objects: 0
Files with errors: 0
Running time: 00:15
FILE IS CLEAN!
No comments:
Post a Comment