<Complete Reference drive Obyek
Properti SerialNumber mengembalikan nomor seri drive yang ditentukan.
Sintaksis
DriveObject.SerialNumber
Contoh
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The serial number is: " & d.SerialNumber)
set d=nothing
set fs=nothing
%>
Output:
The serial number is: 474680516
<Complete Reference drive Obyek