|
-
Aug 20th, 2008, 02:24 PM
#1
Thread Starter
New Member
How i copy file to another in lan ?
Hi,that's my 1st post here.
i tried to get list of PCs in my lan including myself and the gatway,i did by this code
Code:
Dim siteResponds As Boolean = False
Dim MyIPAddresses As IPHostEntry = Dns.GetHostEntry(Dns.GetHostName)
Dim MyIPAddress As String = MyIPAddresses.AddressList(0).ToString
Dim i As Int32
For i = 1 To 254
siteResponds = My.Computer.Network.Ping((MyIPAddress.Substring(0, MyIPAddress.LastIndexOf(".")) & "." & i), 1)
If siteResponds = True Then
lstbNames.Items.Add(MyIPAddress.Substring(0, MyIPAddress.LastIndexOf(".")) & "." & i)
End If
siteResponds = False
Next
it take long and can't figure the gatway is, it work .what i need here,how can i copy file(s) to any of this IP Addresses (PCs)that need to Username and password?
-
Aug 25th, 2008, 11:23 AM
#2
Re: How i copy file to another in lan ?
Merely because you have a computer's IP address does not mean you can copy stuff to it. Do you have admin access to all these machines?
-
Sep 1st, 2008, 09:28 AM
#3
Thread Starter
New Member
Re: How i copy file to another in lan ?
yes i have the Admin access to all the network,question here ,how can i find the IPs (Computers and router (gateway)) and after that copy stuff to it by admin access (Username and password)
-
Sep 9th, 2008, 01:29 PM
#4
Thread Starter
New Member
Re: How i copy file to another in lan ?
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
|