通过MTP C#/ VB.net文件写入WPD设备

通过MTP C#/ VB.net文件写入WPD设备

问题描述:

我想编写一个将MP3文件复制到SanDisk公司的Sansa M240的应用程序。 SanDisk的没有一个驱动器号,并使用MTP进行文件传输。 的http:/我通过连接到设备的样品跌跌撞撞/blogs.msdn.com/dimeby8/archive/2006/09/27/774259.aspx

I would like to write an application that will copy MP3 files to a SanDisk Sansa M240. The SanDisk doesn't have a drive letter and uses MTP for file transfer. I stumbled through the sample of connecting to the device at : http://blogs.msdn.com/dimeby8/archive/2006/09/27/774259.aspx

但一旦连接,我想不出如何实际拷贝文件/设备上创建文件夹。

but once connected, I can't figure out how to actually copy files / create folders on the device.

我很惊讶,没有任何包装的.Net此COM库。

I am very surprised that there aren't any .Net wrappers for this COM library.

看起来dimeby8发布了一些code处理数据传输。检查其他职位在他的博客,特别是:

It looks like dimeby8 posted some code that handles data transfers. Check other posts in his blog, especially:

发送MTP通过WPD部分命令1

发送MTP通过WPD部分命令2

发送MTP通过WPD部分命令3