Hello Friends,
i am dealing a project, in which i stuck here, the problem is i am new to
VC++.net so i need a friends help to solve this problem.
I have to identify a system which is connected in a network using VC++.net
, please if anyone go through this reply me.
I am very thankful to people who spare their time to read this question and
specially for people who reply with some code.
Thanks
Regards
Shun
Bruno van Dooren - 09 Jun 2006 14:52 GMT
> i am dealing a project, in which i stuck here, the problem is i am new to
> VC++.net so i need a friends help to solve this problem.
[quoted text clipped - 4 lines]
> I am very thankful to people who spare their time to read this question
> and specially for people who reply with some code.
What exactly do you mean by identify?
getting the computer name, the ip address or something else even?
Do you program a managed .NET application, or a win32 application?
for a native app you could use GetComputerName for example, but it all
depends on what you want exactly, and what kind of application you are
writing.

Signature
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"
William DePalo [MVP VC++] - 09 Jun 2006 15:16 GMT
> I have to identify a system which is connected in a network using
> VC++.net, please if anyone go through this reply me.
If you are interested in TCP/IP connectivity, take a look at this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/syncmgr/syncmgr
/isnetworkalive.asp
and this
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet
/internetgetconnectedstate.asp
Regards,
Will