class1.cs

来自「应用框架的设计与实现的源代码(SAF) 《应用框架的设计与实现》随书源码」· CS 代码 · 共 29 行

CS
29
字号
using System;
using System.Runtime.Remoting;

namespace Test.Server.SAF.Cryptography
{
	/// <summary>
	/// Summary description for Class1.
	/// </summary>
	class Class1
	{
		/// <summary>
		/// The demo application set up the server side remoting service for secure communication.
		/// You need to start this console app first before you start Test.Client.SAF.Cryptography project
		/// in order to get the secure remoting to work.
		/// Please refer to SAF.Cryptography section in app.config file for more information on how 
		/// to configure the cryptography of the remoting server sink.
		/// </summary>
		[STAThread]
		static void Main(string[] args)
		{
			//load the configuration data which will set up the server remoting sink for 
			//secure communication.
			RemotingConfiguration.Configure(@"TestConsole.exe.config");
			Console.WriteLine("press enter to exit");
			Console.ReadLine();
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?