Console.Write("Enter the remote computer name:");string remoteHost = Console.ReadLine();Microsoft.VisualBasic.Devices.Computer c = new Microsoft.VisualBasic.Devices.Computer();if (c.Network.Ping(remoteHost, 1000)){ Console.WriteLine("The specified computer {0} is successfully pinged", remoteHost); Console.Write("Enter the remote computer folder fullpath:"); string remotepath = Console.ReadLine(); Console.Write("Enter the local filename with fullpath:"); string localfile= Console.ReadLine(); c.Network.UploadFile(localfile, new System.Uri(remotepath).AbsoluteUri); Console.WriteLine("The specified file is successfully uploaded");}