R
Ryan Liu
Hi,
If I want to uniquely identify a computer. I can read CPU ID or Mac Address.
I heard, but is this true: some BIOS can block CPU ID from being read? (In
this case, will I get an exception, null or empty string for method
managementObject.Properties["ProcessorId"]?)
So maybe Mac address is better way. But when I read Mac address for my
laptop, I got:
Mac: 50:50:54:50:30:30 TcpNumConnections: SettingID:
{737A20C3-2927-422C-9420-698FD1EDC3D1} Caption: [00000001] WAN ΢ÐͶ˿Ú
(PPTP) Description: WAN ΢ÐÍ¶Ë¿Ú (PPTP) Index: 1 IPAddress:
Mac: 33:50:6F:45:30:30 TcpNumConnections: SettingID:
{180F0C5B-E52F-42D0-9872-09CAE6FF6621} Caption: [00000002] WAN ΢ÐͶ˿Ú(PPPOE)
Description: WAN ΢ÐͶ˿Ú(PPPOE) Index: 2 IPAddress:
Mac: 00:1A:A0:FDB:9B TcpNumConnections: SettingID:
{3F1DA70A-7956-4E9B-944F-AE4D27373C1D} Caption: [00000004] Broadcom
NetLink (TM) Fast Ethernet Description: Broadcom NetLink (TM) Fast
Ethernet Index: 4 IPAddress: System.String[]
Mac: 02:00:54:55:4E:01 TcpNumConnections: SettingID:
{CFC0D5EC-E14D-47BF-9C78-C6E1C6B97AD5} Caption: [00000005] Microsoft Tun
Miniport Adapter Description: Microsoft Tun Miniport Adapter Index: 5
IPAddress:
Mac: 00:1B:77:94:80:52 TcpNumConnections: SettingID:
{A8F431A8-D0FE-4F00-A63C-53C643B4FB85} Caption: [00000008] Intel(R)
PRO/Wireless 3945ABG Network Connection Description: Intel(R) PRO/Wireless
3945ABG Network Connection Index: 8 IPAddress:
Ocz, I don't want to use those of PPTP. I really want to is the Mac address
of the NIC for wired local network.
Since it is the most reliable one and the NIC is not a pluggable card. But
I haven't find a suitable property to locate it.
What is the best one to find it among all those Mac address in my code? Or
there is better way to unique identify a computer?
Thanks a lot!
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China
http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
If I want to uniquely identify a computer. I can read CPU ID or Mac Address.
I heard, but is this true: some BIOS can block CPU ID from being read? (In
this case, will I get an exception, null or empty string for method
managementObject.Properties["ProcessorId"]?)
So maybe Mac address is better way. But when I read Mac address for my
laptop, I got:
Mac: 50:50:54:50:30:30 TcpNumConnections: SettingID:
{737A20C3-2927-422C-9420-698FD1EDC3D1} Caption: [00000001] WAN ΢ÐͶ˿Ú
(PPTP) Description: WAN ΢ÐÍ¶Ë¿Ú (PPTP) Index: 1 IPAddress:
Mac: 33:50:6F:45:30:30 TcpNumConnections: SettingID:
{180F0C5B-E52F-42D0-9872-09CAE6FF6621} Caption: [00000002] WAN ΢ÐͶ˿Ú(PPPOE)
Description: WAN ΢ÐͶ˿Ú(PPPOE) Index: 2 IPAddress:
Mac: 00:1A:A0:FDB:9B TcpNumConnections: SettingID:
{3F1DA70A-7956-4E9B-944F-AE4D27373C1D} Caption: [00000004] Broadcom
NetLink (TM) Fast Ethernet Description: Broadcom NetLink (TM) Fast
Ethernet Index: 4 IPAddress: System.String[]
Mac: 02:00:54:55:4E:01 TcpNumConnections: SettingID:
{CFC0D5EC-E14D-47BF-9C78-C6E1C6B97AD5} Caption: [00000005] Microsoft Tun
Miniport Adapter Description: Microsoft Tun Miniport Adapter Index: 5
IPAddress:
Mac: 00:1B:77:94:80:52 TcpNumConnections: SettingID:
{A8F431A8-D0FE-4F00-A63C-53C643B4FB85} Caption: [00000008] Intel(R)
PRO/Wireless 3945ABG Network Connection Description: Intel(R) PRO/Wireless
3945ABG Network Connection Index: 8 IPAddress:
Ocz, I don't want to use those of PPTP. I really want to is the Mac address
of the NIC for wired local network.
Since it is the most reliable one and the NIC is not a pluggable card. But
I haven't find a suitable property to locate it.
What is the best one to find it among all those Mac address in my code? Or
there is better way to unique identify a computer?
Thanks a lot!
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China
http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.