Check Connections speed
2 posters
Page 1 of 1
Check Connections speed
Imports System.Net.NetworkInformation
Public Class form1
Private Sub button1_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim div As Integer = 0
Dim myNA() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces
Label2.Text = myNA(0).Speed
Label4.Text = Label2.Text.ToString / 1024
Label6.Text = Label2.Text.ToString / 1048576
End Sub
End Class
Public Class form1
Private Sub button1_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim div As Integer = 0
Dim myNA() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces
Label2.Text = myNA(0).Speed
Label4.Text = Label2.Text.ToString / 1024
Label6.Text = Label2.Text.ToString / 1048576
End Sub
End Class
giovhz- Newbie
- Posts : 41
Join date : 2013-03-09
Re: Check Connections speed
hoe can i use this sir?im newbie..thanks
mariano12- Newbie
- Posts : 2
Join date : 2013-09-12
Reply
create ka form/button/& 3 labelmariano12 wrote:hoe can i use this sir?im newbie..thanks
lagay mo to sa button mo!
Dim div As Integer = 0
Dim myNA() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces
Label2.Text = myNA(0).Speed
Label4.Text = Label2.Text.ToString / 1024
Label6.Text = Label2.Text.ToString / 1048576
giovhz- Newbie
- Posts : 41
Join date : 2013-03-09
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|