FAQ: How to get disk serial number in c# program?

If you are an C# Developer and looking for a solution to get serial number of hard disk in your C# program, you can try our GetDiskSerial DLL. With a few function call in C#, it helps you read the Serial Number of Hard Disk in your C# projects easily and quickly.

		private void Command1_Click_1(object sender, System.EventArgs e)
		{

				HDiskInfo.SetLicenseKey('Your-License-Key');

				this.Text1.Text = HDiskInfo.GetSerialNumber(0);
	
				this.Text2.Text = HDiskInfo.GetModelNumber(0);

		}

Free Trial GetDiskSerial DLL Now

See Also: