How to get physical ip address

You can talk about VB programming here

How to get physical ip address

Postby NVYE » Wed Sep 07, 2005 9:24 am


Hi,

I'm just wondering, how to get a physical ip address of a computer using Visual Basic.

Thank you very much!

Thanks ...
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Re: How to get physical ip address

Postby Guest » Wed Sep 07, 2005 1:18 pm

NVYE wrote:Hi,

I'm just wondering, how to get a physical ip address of a computer using Visual Basic.

Thank you very much!

Thanks ...


Image

Code: Select all
Text1.Text = Winsock1.LocalIP

you dont have to use a text box you can use a label aswell you can put
Code: Select all
Text1.Text = Winsock1.LocalIP
under
Code: Select all
Private Sub Command1_Click()
Text1.Text = Winsock1.LocalIP
End Sub

or
Code: Select all
Private Sub Form_Load()
Text1.Text = Winsock1.LocalIP
End Sub


i included a exsample its downloadable below :\
Guest
 

Postby NVYE » Wed Sep 07, 2005 2:10 pm

Good stuff ... thanks

UMM ... I want physical ip adress or MAC ADRESS ...
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby Guest » Wed Sep 07, 2005 10:46 pm

NVYE wrote:Good stuff ... thanks

UMM ... I want physical ip adress or MAC ADRESS ...

how your really asking for alot there...
Guest
 

Postby Departure » Thu Sep 08, 2005 5:45 pm

physical ip adress
I dont get it am i missing something here?? your so called physical ip address is 127.0.0.1 unless you are on a local network. other than that the ip address is assigned by your ISP while connected to the internet.

But your hardware mac address should'nt be too hard to get
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby NVYE » Thu Sep 08, 2005 5:58 pm

anyway I figured out :) thanks all

Now I would like to get Real Serial Number of Hard drive or CPU serial number ...

any idea ??? kekekek
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby Guest » Thu Sep 08, 2005 11:51 pm

Ehh? what is the point of needing all this for? CPU serial cannot be changed. then again is it was able to be changed within the computer you are more likly to f**k your computer then you would deleting something in your registry. now as far as getting a the CPU serial as far as i know thats on the chip its self not stored in the computer any where. however i think if you look around locohackers site he did in the past release the source code to his anti-ban sounds like you wanna make a anti-ban.
Guest
 

re numbers

Postby rattled_Cage » Tue Dec 13, 2005 2:33 am

hmmm i decided to slap a lot of diferent code ive found to retrieve some of the info i suspect paltalk bans our merry asses on

i was kind of freaked out when it returned the model numbers of my hard drives
and as to changing the serial numbers of the drive Good luck LOL
you gonna peel the model number off in visual basic ?
the only thing i left of was the volume id

cmd /k dir
Last edited by rattled_Cage on Tue Dec 13, 2005 2:35 am, edited 1 time in total.
rattled_Cage
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Wed Nov 09, 2005 12:18 pm

oops

Postby rattled_Cage » Tue Dec 13, 2005 2:34 am

ooops here it is
rattled_Cage
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Wed Nov 09, 2005 12:18 pm

Postby NVYE » Tue Dec 13, 2005 9:26 am

damn ... this is good stuff man :) .... thanks a whole bunch.

Hey buddy ... one question ... why are the serials number for C and D are in decimal digits?

Is that a format volume serial number or the hard drive serial number?
User avatar
NVYE
imFiles Senior
imFiles Senior
 
Posts: 234
Joined: Fri Jun 10, 2005 11:29 pm

Postby locohacker » Tue Dec 13, 2005 10:22 am

Great, I might just use this for the new ban remover :) thanks a lot man
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4363
Joined: Fri Dec 31, 2004 6:59 pm

Postby rattled_Cage » Tue Dec 13, 2005 2:33 pm

hard drive serial number ^^^


the vol-id is created when you format or change with volid.exe

and the serial numbers on that should be on your stickers to your hard drive too ! i dont think these can ever be changed ! like the VIN number on a car

this shows the volid of c:/
rattled_Cage
imFiles Newbie
imFiles Newbie
 
Posts: 18
Joined: Wed Nov 09, 2005 12:18 pm

Postby method » Fri Apr 07, 2006 6:19 pm

Hi Guest. I tried your code and i keep getting the following error!! could u help me fix this problem.Thanks
Attachments
error.JPG
error.JPG (58.58 KiB) Viewed 1210 times
method
imFiles Master
imFiles Master
 
Posts: 686
Joined: Tue Oct 18, 2005 11:12 am

Postby Departure » Sun Apr 09, 2006 3:44 am

hehehe you have to add the winsock componate .....

Ctrl + T to bring up the componate window and just tick the box that says "Microsoft winsock control" then click the apply or the ok button.

now you should see a new componate in your tool bar (left side) click on the winsock and place it into your form
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby s k 8 e r » Thu Jan 18, 2007 9:34 am

http://www.whatismyip.com


that'll tell u ur ip lol
s k 8 e r
imFiles Senior
imFiles Senior
 
Posts: 131
Joined: Sun Apr 09, 2006 4:19 pm
Location: here

Next

Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests