GetFile Method
Download a RemoteFile from the TFTP server.
Syntax
[VB.NET] Public Sub GetFile()
[C#] public void GetFile();
Remarks
The remote file specified by RemoteFile is downloaded to the local file specified by LocalFile, or it is retrieved through the Transfer event, if the LocalFile property is "" (empty string).
Example (Get a File)
TFTPControl.TFTPServer = "MyServer" TFTPControl.LocalFile = "C:\filename.txt" TFTPControl.RemoteFile = "/remotefile.txt" TFTPControl.GetFile()NOTE: This method has a corresponding asynchronous version (GetFileAsync) for use in the Xamarin environment.