|
-
Sep 27th, 2009, 05:41 PM
#1
Thread Starter
Fanatic Member
Obsolete property
Hi,
I got this warning:
Warning 1 'Public Property Address() As Long' is obsolete: 'This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons. http://go.microsoft.com/fwlink/?linkid=14202' E:\_Visual Studio_\2008\VB\Pinger\classPinger\pingerbib.vb 167 38 pingerbib
with this code:
Code:
Dim ipaddress As IPAddress
Dim ip As Integer = CInt(Net.IPAddress.Parse(IP_adresse).Address
Anyone know what the correct code is??
Last edited by Arve K.; Sep 27th, 2009 at 06:40 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|