Author: serendipideist | Posted on: 1/11/2009 5:49:40 PM | Views : 303

I'm preparing my ASP.NET application to start selling it.  Currently, I'm trying to create a licensing scheme.  I need to get the serial number of the hard drive on which the web application is installed.  I've found several codes that get various serial numbers, and I don't know which one to use.

 Following is the code.  If someone could recommend which of these to use, I'd greatly appreciate it.

 Thanks.
 
1 Imports System.Management
2 Imports System
3 Imports System.Text
4 Imports System.Runtime.InteropServices
5
6 Namespace Volume
7
8 Public Class GetVol
9 Go to the complete details ...