Can I get the name of a device?
If you use the new Code Snippet for VB (Shortcut <ctrl> + k, <ctrl> +x) or from the Edit -> IntelliSense -> Insert Snippet...
You can find the following snippet under
Smart Devices > Application - Compiling, Resources, and Settings >
Get the Name of the Device.
And you can insert it to your form. The code looks like this.
Private Function GetDeviceName() As String
Return Dns.GetHostName()
End Function
Hope this helps.
David