Serializing to/from Adobe AMF in C#/Mono?

2020-07-25 02:55发布

Using Zend_Amf it's possible to serialize php objects to/from Adobe AMF format. Is there an equivalent library for serializing/unserializing C# objects to/from AMF?

I'm working in Mono 2.4.

标签: c# amf zend-amf
2条回答
The star\"
2楼-- · 2020-07-25 03:07

I've recently written a blog post regarding the Flash aspect of FluorineFx AMF data transfer. There's some open source code on github (linked to in the blog post) too.

Maybe it could come in useful : http://labs.specialmoves.com/code/flash-data-transfer-using-fluorinefx/

查看更多
Deceive 欺骗
3楼-- · 2020-07-25 03:20

There are several options. Here's the best.

http://www.fluorinefx.com/

Fluorine provides a full client and server implementations of AMF over HTTP and at least server implementations of AMF over RTMP (I'm not sure about client for RTMP--we just haven't used it so I haven't looked into it). It also includes classes that can be utilized directly for AMF serialization and deserialization.

We use it extensively in our application as an HTTP AMF server, for random AMF serialization/deserialization, RTMP server, and in the past we implemented a plain AMF over TCP socket server using Fluorine (which is no longer necessary, this was pre-RTMP support).

查看更多
登录 后发表回答