Quote:> Hi all,
> I need some APIs that can help me to detect the machine name, IP address
and
> domain name of the current computer, the computer that my program is
> running.
> I know that GetNetworkParams() work for Win98/Win2K/WinXP, but not for
> WinNT4.0. Could someone give me some advice?
> Thank you very much,
> Rocky Lee
1. Detecting user name & machine name
Simon,
Yes, GetUserName and GetComputerName (both for NT and 95).
Regards,
Patrik
-----------------------------------------------------------------
AU-System Communication AB (http://www.ausys.com)
2. memory allocation in carbon and OS X
3. Two IP address in a single machine with two different Names ??
5. Getting an IP address using the machine name
7. Changing IP address, Computer Name, and Adding to Domain
8. Official Windows Forms portal site at http://windowsforms.net
9. How to Get IP address of a machine by its name
10. Changing Machine Name and IP address Programmatically
11. How to find domain name or country of an IP address?
12. Get NetBIOS domain name from known DNS/LDAP domain name
13. Detecting remote disk PC-name/IP-address