MonoDevelop.Projects.Formats.MSBuild.MainClass.RegisterRemotingChannel C# (CSharp) Method

RegisterRemotingChannel() public static method

public static RegisterRemotingChannel ( ) : void
return void
		public static void RegisterRemotingChannel ()
		{
			IDictionary dict = new Hashtable ();
			var clientProvider = new BinaryClientFormatterSinkProvider();
			var serverProvider = new BinaryServerFormatterSinkProvider();
			dict ["port"] = 0;
			dict ["rejectRemoteRequests"] = true;
			serverProvider.TypeFilterLevel = System.Runtime.Serialization.Formatters.TypeFilterLevel.Full;
			ChannelServices.RegisterChannel (new TcpChannel (dict, clientProvider, serverProvider), false);
		}