Posts: 2,216
Threads: 187
Joined: Jul 2011
11-12-2011, 04:08 PM
(This post was last modified: 11-12-2011, 04:15 PM by BreShiE.)
I've just made a quick program, which pulls your computer information.
- Computer Username
- Computer Name
- Internal IP Address
- External IP Address
Picture
Download Link:
http://www.mediafire.com/?8apiua7slvf2om4
You can scan it yourself, I can't be bothered to do it.
Posts: 33
Threads: 3
Joined: Dec 2009
Reputation:
2
11-12-2011, 05:18 PM
(This post was last modified: 11-12-2011, 05:19 PM by iRtehLeet.)
It's just 1 line of code per line..
Posts: 2,216
Threads: 187
Joined: Jul 2011
11-12-2011, 06:41 PM
(This post was last modified: 11-12-2011, 06:49 PM by BreShiE.)
Are you dumb? I have around 30-50 lines of code in the source.
Posts: 2,216
Threads: 187
Joined: Jul 2011
(11-12-2011, 07:24 PM)iRtehLeet Wrote: Code:
Dim Name As String = (My.User.Name)
Dim User As String = Name.Split("\").GetValue(0)
Dim CompName As String = Name.Split("\").GetValue(1)
Dim WC As New WebClient
Dim IP As String = WC.DownloadString("http://www.whatismyip.org/")
Dim LocalIP As String = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName()).AddressList(0).ToString()
MsgBox(CompName & vbNewLine & User & vbNewLine & IP & vbNewLine & LocalIP)
Not how I've done it, now stay away from my threads, thanks.
Posts: 2,216
Threads: 187
Joined: Jul 2011
(11-14-2011, 12:20 PM)iRtehLeet Wrote: Its only like 5 lines of code don't see why your releasing it lol
You don't know how I code, nor do you know how I've coded this. Now please, do not reply again.
Posts: 2,216
Threads: 187
Joined: Jul 2011
(11-14-2011, 03:30 PM)iRtehLeet Wrote: Coders always want less code = better
I just showed you how to do it in 5 lines, if you really took 50-60 then your doing it wrong.
It's more like 10-15, but still. The way you did it is retarded, too simple for my liking.
Rather than spamming this forum, if you wish to contact me regarding this matter further, please AIM me. ibreshie.
Posts: 434
Threads: 28
Joined: Mar 2011
Reputation:
16
Not to flame, but he is right. The way he did it is more professional. Shorter code doesn't always mean a better program but most times it does. As it will actually be faster most times.