2009-04-10から1日間の記事一覧
Merapi のデモでは、カスタムオブジェクト を扱っていたので .NET Remoting でも扱ってみる。 まず、カスタムオブジェクトを定義する。 using System; namespace CustomObject { public class RemoteMethod : MarshalByRefObject { public int Get年(人 p) {…
以前のエントリ で書いたけど、 米林 さんが紹介していた Merapi が .NET Remoting みたいなのかなと思ったので .NET Remoting を触ってみる。 サーバー側は、IpcServerChannelのサンプルコードを実行する。 using System; using System.Runtime.Remoting; u…