有没有办法保护Windows mobile,以便除了在该设备上注册的SD卡存储外,它不会接受其他SD卡存储?我想我可以获得SD卡序列号。如何使用VB.net Mobile获取存储卡的序列号?我可以在基于Windows的应用程序中执行此操作,但无法在Windows-Mobile中找到方法...需要帮助。
For Each drive As DriveInfo In My.Computer.FileSystem.Drives
If drive.IsReady = True AndAlso drive.DriveType = IO.DriveType.Removable Then
Dim fso As Scripting.FileSystemObject
Dim oDrive As Scripting.Drive
fso = CreateObject("Scripting.FileSystemObject")
oDrive = fso.GetDrive(drive.Name)
Dim serialnumber = oDrive.SerialNumber
End if
Next