|
-
Aug 29th, 2006, 04:08 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] Retrieving computer information
Hello everyone,
Can someone tell me if theres any way to retrieve the unique system serial number or id ...or anything thats just unique for each machine?
This is for making an activation for a software.
Please suggest me through what way I can retrieve the system id or serial..
Thanks,
Godwin
Godwin
Help someone else with what someone helped you! 
-
Aug 29th, 2006, 04:10 AM
#2
Re: [2005] Retrieving computer information
There is no common serial number for computers. The best you can do is to create a hardware hash out of a few of the main hardware items like cpu, memory, and hard drive serial number (physical and not volume). You will need to use WMI class to do it. Gigemboy has a CodeBank thread on WMI.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 29th, 2006, 04:24 AM
#3
Re: [2005] Retrieving computer information
You can use My namespace to get some specific computer info:
VB Code:
Dim fullName, compName As String
fullName = My.Computer.Info.OSFullName
compName = My.Computer.Name
-
Aug 29th, 2006, 07:34 AM
#4
Re: [2005] Retrieving computer information
Yes, but that info can be changed so easily by the user.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Aug 29th, 2006, 11:30 AM
#5
Thread Starter
Fanatic Member
Re: [2005] Retrieving computer information
Thanks Rob,I saw gigemboys code..It was excellent really...Thats just what I needed..Many Thanks to Gigemboy too
Godwin
Help someone else with what someone helped you! 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|