suraj_aten wrote: > Is thr any way to retrieve motherboard serial no. in C/C++ > programe???please help me out. > thanks in advance. > cheers. >
There are two ways to do this, and I do not have enough information to help you with either. First, most operating systems have functions that can return arbitrary information about the machine including CPU type, speed (sometimes), register info, etc. and possibly motherboard serial numbers. This will vary based on which operating system. The second way is to make assembler calls to request this information directly from the CPU. This varies by instruction set, and each compiler has its own way of making these calls in the first place. While embedded assembly is a standard feature, the method of actually doing it varies. There may be a portable library somewhere that can provide this information, but I am not sure. I have not had a need to do this myself so I have not investigated this much more than to find out what I already told you. -- John Gaughan
