净MTP / PTP包装? [英] .Net MTP / PTP Wrapper?

查看:97
本文介绍了净MTP / PTP包装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我书面方式一个爱好项目来处理的相机文件。 previously我发现的<一个问题href="http://stackoverflow.com/questions/541247/using-folderbrowserdialog-on-a-removable-device-removable-storage">camera和的FolderBrowserDialog 。

I'm writting a hobby project to deal with files on cameras. Previously I found issues with the camera and the FolderBrowserDialog.

我相信这是happing是相机使用MTP和PTP(图片传输协议并不对等的对等)。

What I believe is happing is that the camera is using MTP or PTP (Picture Transfer Protocol not peer-to-peer).

为了使用相机更完美,我想用PTP或MTP访问摄像机的接口。是否有任何MTP / PTP包装器对于.NET的人可以推荐?我希望避免写我自己的,或涉足非托管code如果可能的话。

In order to make interfacing with the camera more seamless I'd like to use PTP or MTP to access the camera. Are there any MTP / PTP Wrappers for .Net people can recommend? I'm keen to avoid writing my own or dabbling in unmanaged code if possible.

推荐答案

我已经发现dimeby8这个博客帖子里面已经有很多关于如何协议的工作有用的信息,一个很好的起点,但它留下了很多期望在托管实现的方法

I have found this blog post by dimeby8 which has been a great starting point with a lot of useful information about how the protocol works, however it leaves a lot to be desired in the way of managed implementations

http://blogs.msdn.com/dimeby8/archive/标签/ C_2300_ / Default.aspx的

我还发现一个粗C ++ / CLI MTP wrapper-它旁边没有的功能,但是是一个很好的示范混合管理/ unmanged code:

I have also found a crude C++/CLI MTP wrapper- it has next to no functionality but is a good demonstration of mixed managed/unmanged code:

http://ko.sourceforge.jp/projects/sfnet_mtpsharp/

和有一个codePLEX项目,但它并不能证明转移或者 - 我感兴趣IN-编辑摄像机元数据(特别是相机的日期)

And there's a CodePlex project but it doesn't demonstrate transfers or - what I'm interested in- editing camera metadata (specifically the camera date)

HTTP://www.$c$cplex.com/portabledevicelib/

你有过与这个项目没有成功?

Have you had any success with this project?

这篇关于净MTP / PTP包装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆