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
Sends a file from the desktop to the device.
Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)
Syntax
public bool SendFile (
string desktopFile,
string deviceFile,
bool overwrite
)
'Declaration
Public Function SendFile ( _
desktopFile As String, _
deviceFile As String, _
overwrite As Boolean _
) As Boolean
Parameters
- desktopFile
Full name of file on desktop.
- deviceFile
Full name of file on device.
- overwrite
TRUE to overwrite an existing file.
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