public void StartMessaging() { if (IpcMessage.Exists <TestMessage>(messageName)) { IpcMessage.Delete(messageName, typeof(TestMessage)); } IpcMessage msg = IpcMessage.Create <TestMessage>(messageName); Timer timer = new Timer((o) => { TestMessage message = new TestMessage(); message.Name = "Name_".RandomLetters(4); message.IsMonkey = RandomHelper.Bool(); OutLineFormat("Setting data to:\r\n {0}", ConsoleColor.Cyan, message.PropertiesToString()); msg.Write(message); }, null, 0, 1000); Pause(); }