How To Get Real Serial Number Of A Cpu

Sep 16, 2011

what i want is to get the serial number of my cpu.i have used the code you give at your website,that refers at the function GetProcessorId, at 3 different pc's,where all these pc's were using cpu's of the company INTEL.so my problem is that i took the same ID from the 3 pc's i used. is there any way that will make me able to get a real serial number from a cpu,that this serial number is unique?i am using visual studio 2008.do you have something to suggest?

View 3 Replies


ADVERTISEMENT

VS 2008 - Hard Drive Real Serial Number

Mar 6, 2011

PHP
Dim searcher As ManagementObjectSearcher = New ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia")
For Each wmi_HD As ManagementObject In searcher.Get()
MessageBox.Show(wmi_HD("SerialNumber"))
Next
I am using this code for getting hard drive serial number its works ok with me but not working on my friends system and return an empty string.

View 4 Replies

Get HDD Real Serial Numbers - Using Win32_PhysicalMedia, Does Not Work Reliably?

Jun 24, 2010

Searched High & Low to find a reliable way to get HDD real serial numbers in VB.NET. WMI method using Win32_PhysicalMedia, does not work reliably (I am administrator & using XP Pro & SATA drives)

View 4 Replies

.NET And Displaying Real-time Received Serial Data On GUI?

May 24, 2010

I'm having a bit of an issue receiving a stream of serial data and displaying the data real-time in my GUI. I am fairly new to VB.Here's what I'm trying to achieve: I have an I2C device (bank of LED's) connected to my Arduino. Using the VB.NET (2010) GUI I request which LED I want on (via buttons) and the I2C device then sends a reply confirming which LED actually turned on (basic feedback). Ok, sounds great right? Here's where I get issues. Well when I try to read the serial data sent to VB and display the real-time stream on the GUI, a) I get a bit of a mess as an output (values are ok, just spewn across GUI) and b) when I select a new LED to turn on, the GUI data does not refresh to this change. The stream being sent from the Arduino is ok, I looked at the data in a serial monitor.

[Code]...

View 2 Replies

VS 2010 Displaying Real-time Serial Data In GUI?

May 24, 2010

connected to my Arduino. Using the VB.NET (2010) GUI I request which LED I want on (via buttons) and the I2C device then sends a reply confirming which LED actually turned on (basic feedback). Ok, sounds great right? Here's where I get issues. Well when I try to read the serial data sent to VB and display the real-time stream on the GUI, a) I get a bit of a mess as an output (values are ok, just spewn across GUI) and b) when I select a new LED to turn on, the GUI data does not refresh to this change. The stream being sent from the Arduino is ok, I looked at the data in a serial monitor.

Public Class Form1
Dim ticktock As Integer
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

[code].....

View 4 Replies

Code For Checking The Serial Serial Number Of A Usb Stick?

Nov 21, 2011

With this code i check the serial serialnumber of a usb stick.

[code]...

It is not perfect because the programma crash when there is no usb in de PC.But how do i search fot the sctick if it has a name , for example PPH ? And not G: , because it is everytime a different station.

View 5 Replies

Checking For Entered Value - Real Number

Nov 14, 2009

Imports System.Math
Public Class Form1
Dim var_ghost As Object
Dim var_number As Double
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code] .....

My question is; when you enter a variable to inputbox like "100.5" it shall return a numeric value at line1 and "100,5" too. But when I need to check for entered value is a real number or not (Look line2) CDbl("100.5") returns 1005 CDbl("100,5") returns 100,5.

View 8 Replies

Hdd Serial Number (not Volume Number)code In 2008

Jan 13, 2010

Send hdd serial number (not volume number)code in vb.net 2008.

View 3 Replies

Generate Serial Number (last Six Digit Number)

May 17, 2010

I want to generate a serial number in this format: INDDMMYY000001, INDDMMYY000002, INDDMMYY000003, ... I can generate INDDMMYY using following code: lblNoSiri.Text = "IN" + Date.Now.ToString("ddMMyy") However, I don't know how to generate the last six digit number. I only can generate number without zero in front of it. How to create the number with fix number of digit?

View 4 Replies

Can't Get Monitor Serial Number

Mar 10, 2009

i need to write a program to get the monitor's serial number i can get the model number for the life of me i cant seem to get the serial?

Private Function monitorName() As String
On Error GoTo Error_Handler
Dim objWMIService As Object

[Code]....

View 7 Replies

Cd Manufacture Serial Number?

Jan 1, 2010

how do i get the cd manufacture serial number of each cd with vb code?

View 2 Replies

Get Volume Serial Number?

Jul 17, 2009

I'm using this code to generate machine signature. But it's take noticeable time to execute.

Public Shared Function DriveSN(ByVal DriveLetter As String) As String
Dim disk As ManagementObject = New ManagementObject(String.Format("Win32_Logicaldisk='{0}'", DriveLetter))

[Code].....

View 4 Replies

Hardware Id - Get USB Serial Number?

Sep 19, 2010

how to get USB serial number(Hardware ID) using VB.net?

View 1 Replies

How To Get Motherboard Serial Number

Jan 29, 2010

Dim Q As New SelectQuery("Win32_BaseBoard")
Dim SearchString As New ManagementObjectSearcher(Q)
Dim Info As ManagementObject
For Each Info In SearchString.Get()
TextBox1.Text += Info("SerialNumber").ToString()
Next
Its not working. I cant get my motherboard serial. Why?

View 5 Replies

Monitor Serial Number Using WMI?

Jul 21, 2009

I am making my first application which involves WMI.. Using the documentation provided by MSDN and the Forums I have managed to get data related to the Win32 Class (Computer Name, Physical Memory, IP Address, etc..) Now I would like to get the Serial number of the monitor. I believe I have to use the WmiMonitorID Class. However, I do not know the Syntax to access the property of the same. I had used the code below for the win32 class. How do I modify it for the WmiMonitorID Class?

Public Function OpSys() As String()
Dim Str(4) As String
' ManagementObjectSearcher retrieves a collection of WMI objects based on[code]........

View 4 Replies

Serial Number For Macro?

May 24, 2012

What is missing is a way that when I give a print click on the quantity of copies informed skirt with sequential numbers without repetitionex.: 10001, 10002, 10003

View 2 Replies

VB: Choose Is Own Serial Com Number?

Sep 16, 2009

The PC has VB program.The VB (running over XP operation system) communicates through USB to RS232 and communicates with electronic board.I found out the when the XP allocate port number more then (estimation) 16, the VB program have problem to communicate with the board.(The problem disappears when the XP allocate port number less then 16).Is VB can handle port number that have high number (like com 45 etc')? and how...Can I force the XP to automatic allocate port number less then specific value?

View 4 Replies

Add A Serial Number Column To The Datagridview?

Apr 11, 2012

OS: windows 7 64-bit /Programming Language: Visual Basic.net on Visual Studio 2010 express edition.I have dataset with 4 tables each one of them is a datasource to a datagridview I want to add a serial number column to the datagridview so I made this

DataGridView1.Columns.Add("serial", "SER.")
For x As Integer = 0 To (ds.Tables("workers").Rows.Count - 1)
DataGridView1("serial", x).Value = (x + 1)
Next

It was working fine untill I added a relationship to the dataset the relationships codes were

Dim relation_WC As New DataRelation("relation_WC", ds.Tables("workers").Columns("id"), ds.Tables("cources_jun").Columns("workerid"))
Dim relation_WV As New DataRelation("relation_WV", ds.Tables("workers").Columns("id"), ds.Tables("vacations_jun").Columns("workerid"))

[code]....

I breaked point the debuging and I found that the serial number column I added is fine and has it's values, but when I reach the line relations.add(the_relation) the serial number column loses it's values and turn into an empty column with no
numbers in it....why this is happening?

Note: I added another relations but the only relations that clear the serial number column are the relations that has a datatable that is a datasource to the datagridview that has the serial number column.

View 7 Replies

C# - Generating Activation Key From Serial Number

Sep 22, 2011

I have devices with unique serial number (string incremetation) ex : AS1002 and AS1003. I need to figure out an algorithm to produce a unique activation key for each serial number. What would be the best approach for this ?

View 5 Replies

C# - How To Retrieve HDD Firmware Serial Number In .net

Jun 29, 2010

How can I retrieve HDD Firmware Serial number in .net? I am able to retrieve HDD Serial number using WMI calls but not able to find any way to retrieve HDD Firmware Serial number.

View 3 Replies

Create A Serial Key/number For Program?

May 18, 2011

i am making a program in visual basic 2008 and when the program first starts up on acomputer/device i want it to come up with a screen that asks for a serial key. i also only want the serial key (that i give to the person i am giving the program to) to be accepted once.eg. if he copies the program and gives it to another person who takes it home, they have to enter a new one (that i would have to give them). if they enter the same key as person 1, i want to deny access.

View 4 Replies

Create A Serial Number For The Software?

Jun 29, 2009

I would like to create a serial number for the software I created. I need a sample link.

View 7 Replies

Error While Trying To Get Motherboard Serial Number

Sep 20, 2009

I am using the following code to get the Motherboard serial:[code]But when i run the app, i get this error:A first chance exception of type 'System.NullReferenceException' occurred in Appname.exe..Object reference not set to instance of an object.

View 2 Replies

Get Hard Drive Serial Number?

Jul 2, 2009

I would like to get the hard drive serial number.... to make a security feature for some software so it will only run on that hard drive... [URL]

View 13 Replies

Get Serial Number For Drive In Vb 2008?

Apr 22, 2010

Dim SerieDisco as String Dim SerDis As New FileSystemObject Public Const LDisk= "C" SerieDisco = SerDis.Drives(LDisk).SerialNumber In VB6 I did use this code and get the serial number of Driver C: But now I am traslating the application to VB 2008 and I don't know how i do it? The methot in VB 6 function with hard Drive, CD and memory card (usb)

View 9 Replies

Hard Disk Serial Number Without WMI?

Feb 11, 2011

How do I get the hard disk physical serial number like in that example: http:[url]...

View 5 Replies

Hard Disk Serial Number?

Jul 5, 2006

i want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI.

View 7 Replies

How To Enter Serial Number Into Registry

Feb 7, 2009

I am trying to release my program now and I have a quick (hopefully quick) question concerning serial numbers. I want to be able to store the trial serial number so if the user uninstalls and reinstalls they won't get another evaluation period free of charge. My concern is that some crafty person will simply move the database files in and out of those installs and keep going indefinately. Although I have some protections built into the database itself in case the program runs out, I just want one extra layer of protection. Is there a way to store the serial number in the registry when entered and check for that entry whenever the program is installed using Windows Installer 3.1?

View 2 Replies

How To Fetch Monitor Serial Number Using WMI

Mar 30, 2011

I am new to WMI concept. I want to fetch the Monitor Serial Number using WMI. I tried in the Class
WIN32_PNPEntity, WIN32_DESKTOP, WIN32_DESKTOPMONITOR
But I am unable to fetch the Monitor Serial Number.

View 2 Replies

Update The Serial-number By Using A Text Box?

Jan 4, 2010

i want to update the serialnumber by using a text box,,,,suppose i am updating the serial number as 3,,,,it was updated,but if i wants to update the serial number as 4 ,that is already in the database it is also updated..but actually it is not updated..but it is updated.........

Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click
Try
Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString())
Dim adp As SqlDataAdapter

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved