We recommend using Visual Studio 2017

My.Computer.Network Object 

Provides a property, event, and methods for interacting with the network to which the computer is connected.

The following table lists examples of tasks involving the My.Computer.Network object.

This example uploads the file Order.txt to http://www.cohowinery.com/uploads.

My.Computer.Network.UploadFile ( _
"C:\My Documents\Order.txt", _

Namespace: Microsoft.VisualBasic.Devices

Class: Network

Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)