Click here to Skip to main content
15,921,643 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to format a number with an implied decimal Pin
PIEBALDconsult19-Jul-08 3:34
mvePIEBALDconsult19-Jul-08 3:34 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer19-Jul-08 13:49
Steve Messer19-Jul-08 13:49 
AnswerRe: How to format a number with an implied decimal Pin
SilimSayo17-Jul-08 9:26
SilimSayo17-Jul-08 9:26 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer17-Jul-08 9:43
Steve Messer17-Jul-08 9:43 
GeneralRe: How to format a number with an implied decimal Pin
darkelv17-Jul-08 17:08
darkelv17-Jul-08 17:08 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer17-Jul-08 18:12
Steve Messer17-Jul-08 18:12 
GeneralRe: How to format a number with an implied decimal Pin
darkelv17-Jul-08 19:23
darkelv17-Jul-08 19:23 
GeneralRe: How to format a number with an implied decimal Pin
Steve Messer18-Jul-08 3:35
Steve Messer18-Jul-08 3:35 
QuestionDragging and dropping a TreeNode onto a ListBox Pin
Jordanwb17-Jul-08 8:29
Jordanwb17-Jul-08 8:29 
AnswerRe: Dragging and dropping a TreeNode onto a ListBox Pin
TheFM23417-Jul-08 8:45
TheFM23417-Jul-08 8:45 
GeneralRe: Dragging and dropping a TreeNode onto a ListBox Pin
Jordanwb17-Jul-08 9:18
Jordanwb17-Jul-08 9:18 
QuestionMail attachments Pin
damianrda17-Jul-08 8:05
damianrda17-Jul-08 8:05 
QuestionWMI Question Pin
#realJSOP17-Jul-08 6:11
professional#realJSOP17-Jul-08 6:11 
AnswerRe: WMI Question Pin
half-life17-Jul-08 6:21
half-life17-Jul-08 6:21 
AnswerRe: WMI Question Pin
Uros Calakovic17-Jul-08 6:35
Uros Calakovic17-Jul-08 6:35 
AnswerRe: WMI Question Pin
Luc Pattyn17-Jul-08 8:33
sitebuilderLuc Pattyn17-Jul-08 8:33 
GeneralRe: WMI Question Pin
#realJSOP17-Jul-08 8:53
professional#realJSOP17-Jul-08 8:53 
Luc Pattyn wrote:
I just discovered Win32_BaseBoard.SerialNumber, maybe that suits your needs. Please let me know
what your conclusions will be, I have a similar need.


Here are some things I've discovered in the last few weeks...

1) MAC addresses should never be used to identify a machine. Why? Because a machine could have two adapters (wireless and wired - like most modern laptops). If BOTH/ALL NICs are disabled, you can't get ANY mac address.

2) The BaseBoard serial number is almost always empty after the user updates the bios the first time. This is especially true on home-made desktop systems. None of my home systems (all home-built) have a baseboard serial number because all of them have had their BIOS's updated. My laptop has also had a bios update (twice in fact), yet it retains its original serial number.

3) I'd expect the Win32_ComputerSystemProduct.UUID to be the same after a windows install, but as previously pointed out, a home-built machine will probably not have a meaningful UUID. On the other hand, my Acer laptop has one, even without the original OS installed (it came with Vista, and I installed XP).

I figured setting a meaningless UUID from within my app would result in a UUID that isn't all 0's or all F's. Documentation is pretty scarce about this topic.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


QuestionWhat does @ mean now? Pin
Dirso17-Jul-08 5:38
Dirso17-Jul-08 5:38 
AnswerRe: What does @ mean now? Pin
Luc Pattyn17-Jul-08 5:47
sitebuilderLuc Pattyn17-Jul-08 5:47 
AnswerRe: What does @ mean now? Pin
originSH17-Jul-08 5:47
originSH17-Jul-08 5:47 
GeneralRe: What does @ mean now? Pin
Luc Pattyn17-Jul-08 5:59
sitebuilderLuc Pattyn17-Jul-08 5:59 
GeneralRe: What does @ mean now? Pin
originSH17-Jul-08 6:14
originSH17-Jul-08 6:14 
GeneralRe: What does @ mean now? Pin
Luc Pattyn17-Jul-08 6:38
sitebuilderLuc Pattyn17-Jul-08 6:38 
AnswerRe: What does @ mean now? Pin
Dirso17-Jul-08 5:52
Dirso17-Jul-08 5:52 
AnswerRe: What does @ mean now? Pin
Giorgi Dalakishvili17-Jul-08 5:56
mentorGiorgi Dalakishvili17-Jul-08 5:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.