Código
Friend Function hwid() As String Return GetProcessorId() & "-" & GetMACAddress() & "-" & GetVolumeSerial() End Function Friend FuEmpty Dim query As New SelectQuery("Win32_prnction GetProcessorId() As String Dim strProcessorId As String = String.ocessor") Dim buscar As New ManagementObjectSearcher(query) Dim info As ManagementObject
El problema es donde defino ManagementObjectSearcher, ManagementObject, SelectQuery y ManagementObjectCollection.
he leido en foros de inicializarlo con "Imports System.Runtime.CompilerServices"
puede que sea de C#, muchas gracias espero no inrumpir nada.
Edit 1: Disculpen, no pense que existia foro de .net