|
Did you or anyone have source code or demo project for vb. Not for the C#. Thank you
|
|
|
|
|
Hi
I need to get camera ip address only on the network without any library
|
|
|
|
|
|
I tried it 2 minutes ago 2:17 Aus/Sydney time and it was fine for me
|
|
|
|
|
Can you send me a copy,xuthus@sina.com
|
|
|
|
|
Can you please also add a Export to CSV or TXT button for the same
# and I also recommend to replace the Work Group Name to dropdown list with per scanned Workgroup available in the network.
# also make a dropdown list as ALL Workgroup.
thanks in advance.
|
|
|
|
|
Hi MahendranG! I just subscribe your works. This project that you made is excellent. I am an IT student, I'm just learning on how to create Network Monitoring. Can you convert or make this project using VB.Net? So that I can study the codes that you are using. Thanks! Please I need it so badly.
|
|
|
|
|
It doesn't works for VS 2013
|
|
|
|
|
Dear MahendranG,
I need a concept about get ipaddress from hostname like i will give the input as google.com, which i need the ip address as all ip address grom the google.com, google-1.com, google-2
|
|
|
|
|
Hi Johneloka,
You are asking the google Server information in Public Network. this is two step process, you need to connect to Google server and get all the Load Balance servers, then proceed with IP Address Resolution from Public Domain.
Mahendran. G
Sr. Software Engg.
Satyam computer Services,
Chennai, India.
|
|
|
|
|
Can anyone give me a solution for this problem?
|
|
|
|
|
Hi,
As for us, I know, there is no difference between connecting through Wire and wireless, they are just a medium for networking. Please check the connection property, while you connecting through wire.
Mahendran. G
Sr. Software Engg.
Satyam computer Services,
Chennai, India.
|
|
|
|
|
Hello,
I have implemented this code to trace the MAC address in a windows application, while it worked perfectly well in Windows XP and Vista, it gives no result in Windows 7. Really unable to figure out y.
|
|
|
|
|
Write the line given below in your aspx page this shall give you the account user name accessing the page
Page.User.Identity.Name.ToString();
|
|
|
|
|
Nice article! It helped me out alot! I used your code for writing an ASP.Net version.
thanks again!
|
|
|
|
|
Hi,
this utility is exactly what iam looking for. Unfortunately when I try to run HostNIPAddr.exe I get the error message. The error is in Slovak language, so that I dont put it here.
I run WinXP SP2.
What can I do to make it run?
|
|
|
|
|
hi,
i want to get all WorkGroup names Available in my Lan.
how i do this.
I used some Coding.but not well.
So i need Solution For this.
thanks & Regards,
Gowri.g
|
|
|
|
|
Hi!
In my application i used this code to find all systems connected in LAN.But it return some systems only. this is the code
Dim childEntry As DirectoryEntry
Dim ParentEntry As New DirectoryEntry()
Try
ParentEntry.Path = "WinNT:"
For Each childEntry In ParentEntry.Children
Dim newNode As New TreeNode(childEntry.Name)
Select Case childEntry.SchemaClassName
Case "Domain"
Dim ParentDomain As New TreeNode(childEntry.Name)
TreeView1.Nodes.AddRange(New TreeNode() {ParentDomain})
Dim SubChildEntry As DirectoryEntry
Dim SubParentEntry As New DirectoryEntry()
SubParentEntry.Path = "WinNT://" & childEntry.Name
For Each SubChildEntry In SubParentEntry.Children
Dim newNode1 As New TreeNode(SubChildEntry.Name)
Select Case SubChildEntry.SchemaClassName
Case "Computer"
ParentDomain.Nodes.Add(newNode1)
End Select
Next
End Select
Next
Catch Excep As Exception
MsgBox("Error While Reading Directories")
Finally
ParentEntry = Nothing
End Try
In that the
SubChildEntry.SchemaClassName its return value like "Schema" instead of "Computers".For this i'm not able to list out all systems in my LAN.
Can you give solution for this .plz
Regards,
Anand.M
|
|
|
|
|
sorry my english.
this exmple it's amazing but no working in other range IP.
for example:
10.2.1.1 , 10.2.1.56 , etc
mac ok
but 64.233.169.99 no
mac: 00:00:00:00 why?
please helpme. this is very important.
im create a function just mac for an IP, the code is succesfull.
using System;
using System.Collections;
using System.Runtime.InteropServices;
public class MAC
{
[DllImport("iphlpapi.dll", ExactSpelling = true)]
private static extern int SendARP(int DestIP, int SrcIP, [Out] byte[] pMacAddr, ref int PhyAddrLen);
public string getmac(string ip)
{
System.Net.IPAddress TempAD = System.Net.IPAddress.Parse(ip);
byte[] ab = new byte[6];
int len = ab.Length;
// This Function Used to Get The Physical Address
int r = SendARP((int)TempAD.Address, 0, ab, ref len);
string mac = BitConverter.ToString(ab, 0, 6);
//msgbox(mac);
return mac;
}
}
|
|
|
|
|
Thank you for the code example.
However, you should try harder to use more english-like variable names instead of acronyms. (This helps people understand it easier).
for example, you use:
byte[] ab = new byte[6];
you should use:
byte[] macAddressBytes = new byte[6];
Don't be so lazy when you code, it makes it really hard to understand (as well as maintain) your code later on.
|
|
|
|
|
I have error in programming!
so I need your asistance.
desciption:
QuangLam
|
|
|
|
|
I have been trying to solve on how to detect IP addresses based on my installed printer drivers around my network but I am getting frustrated each day..heheh.. Win32_Printer, Win32_NetworkAdapter and Win32_TCPIPPrinter failed to get the information that I want..
if you're kind enough share your knowledge to email it to me at janverge@gmail.com
I am using C# as well.
nice one..
|
|
|
|
|
If we invoke a function of Windows, so in other OSs we cannot get MAC.
How can we get MAC address of other OSs (Linux, Solaris...)?
Is there any method that is transparent with the operating system?
Thanks.
Minh
|
|
|
|
|
Hi,
I did this Application in Dotnet. I don't think there is the support aviable for all these OS in Dotnet.
Thanks,
Mahendran.G
Mahendran. G
Sr. Software Engg.
Satyam computer Services,
Chennai, India.
|
|
|
|
|
Hi Mahendran,
I intend to develop a web-based application for using in our local network.
The website will get MAC address of client machine whenever there is a request in order to do some checking. The client machines can be any kind of Windows, Solaris, Linux OSs; the server is Windows server 2003.
To obtain MAC address of client machine, I intend to use the function SendARP. I tried in machines with Windows OS and it ran well.
But how about with others non-Windows OS? Do you think that the website can also take MAC address of client who uses these OSs to access?
Where will this function be invoked ? In server or in client? If it runs on server (Windows 2003) I think it can
Minh
|
|
|
|