我可以将一个类(即对象)加密到其他类(在不同的机器中)吗? [英] Can I send an encrypt a class (i.e., object) to other class (in different machine) ?

查看:53
本文介绍了我可以将一个类(即对象)加密到其他类(在不同的机器中)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将一个类(即对象)加密到其他类(在不同的机器中)吗?

Can I send an encrypt a class (i.e., object) to other class (in different machine) ?

推荐答案

是的,它被称为数据编组 [ ^ ]。



谷歌是你的朋友......
Yes, it is called data marshalling[^].

Google is your friend...


你不能直接将一个类转换为另一个类(除非它们是父子类)。

你必须反序列化并映射到另一个类。
You cannot convert one class to another directly (unless they are parent child classes).
You have to deserialize and map to the other class.


这篇关于我可以将一个类(即对象)加密到其他类(在不同的机器中)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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