Hardware id always zero = bug?
From: McClymont, Andrew (mcclymont_at_gmail.com)
Date: 09/21/04
- Next message: Academician: "Two-NIC, two-gateway setup"
- Previous message: djc: "Re: how to tell where a network problem is?"
- Messages sorted by: [ date ] [ thread ]
Date: 21 Sep 2004 12:13:39 -0700
Hi there,
I'm trying to uniquely identify the computer of the currently logged
in user (under the current session). TS offers a value named
WTSclientHarwareId in its WTSQuerySessionInformation api call, but it
always returns zero!
I thought it was my fault, but now I found out that it displays zero
even on the MMC. Any ideas?
Other workaround is to use the MAC address travelling on the wire, the
thing is that all I know about the current user is its ip address,
missing the port number from wich the connection originated.
Besides, the reported ip address is sometimes the address behind a
NAT/Firewall, so it's pretty much useless since I won't find that ip
address on the wire.
I read that the liscence server stores a unique ID of every client,
any ideas on how to access that repository.
Thanks for your time!
-Andy
- Next message: Academician: "Two-NIC, two-gateway setup"
- Previous message: djc: "Re: how to tell where a network problem is?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|