VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Using this code u can get the serial number of a Drive. Can be used to stop piracy of ur Programme.

Chaudhary Pradeep Kr Roy  (6 Submissions)   Windows System Services   Visual Basic 5.0   Unknown Difficulty   Sat 29th November 2003   Mon 8th February 2021

Using this code u can get the serial number of a Drive. Can be used to stop piracy of ur Programme.

API Declarations


'Here i am Declaring the req. API function
Private Declare Function GetVolumeSerialNumber Lib "kernel32.dll" Alias "GetVolumeInformationA" (ByVal lpRootPathName As String, ByVal lpVolumeNameBuffer As String, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, ByVal lpFileSystemNameBuffer As String, ByVal nFileSystemNameSize As Long) As Long


Rate Using this code u can get the serial number of a Drive. Can be used to stop piracy of ur Programme. (1(1 Vote))
Using this code u can get the serial number of a Drive. Can be used to stop piracy of ur Programme..bas

Using this code u can get the serial number of a Drive. Can be used to stop piracy of ur Programme. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters