Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/12/2014
Copies a file from the device to the desktop.
Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)
Syntax
public bool ReceiveFile (
string deviceFile,
string desktopFile
)
'Declaration
Public Function ReceiveFile ( _
deviceFile As String, _
desktopFile As String _
) As Boolean
Parameters
- deviceFile
Full name of file on device.
- desktopFile
Full name of file on desktop.
Return Value
TRUE if the file was successfully copied, FALSE if not.
Remarks
If either filename is invalid or the copy operation will result in an I/O error, this method will fail.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
CommandTransport Class
CommandTransport Members
Microsoft.RemoteToolSdk.PluginComponents Namespace