Bonjour
j'aimerais savoir comment faire pour savoir si un channel IPC est deja utilisé
en d'autre terme est ce que "ipc://Mon_Channel" existe sur un server ipc de la machine ?
voir http://articles.techrepublic.com.com...3-6143016.html pour savoir comment j'ai créé mon server/client IPC
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 // Create and register an IPC channel IpcServerChannel serverChannel = new IpcServerChannel("remote"); ChannelServices.RegisterChannel(serverChannel); // Expose an object RemotingConfiguration.RegisterWellKnownServiceType(typeof(Counter), "counter", WellKnownObjectMode.Singleton);
Partager