Singlton object that get created by .NET remoting.
Inheritance: System.MarshalByRefObject
		/// <summary> </summary>
		public TemporaryDb4OServerFile(Db4oServerInfo db4OServerInfo)
		{
			Db4OServerInfo = db4OServerInfo;

			ProjectName = String.Format("file{0}", DateTime.Now.Ticks);
			Db4OServerInfo.CreateServerFile(ProjectName);
		}
		public void StopFwRemoteDatabaseConnector()
		{
			RemotingServer.Stop();

			Directory.Delete(FwDirectoryFinder.ProjectsDirectory, true);
			FwDirectoryFinder.ProjectsDirectory = m_oldProjectDirectory;

			m_db4OServerInfo = null;
		}
		public void StartFwRemoteDatabaseConnector()
		{
			// Change the Project Directory to some temporary directory to ensure, other units tests don't add projects
			// which would slow these tests down.
			m_oldProjectDirectory = FwDirectoryFinder.ProjectsDirectory;
			FwDirectoryFinder.ProjectsDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
			Directory.CreateDirectory(FwDirectoryFinder.ProjectsDirectory);

			FdoTestHelper.SetupStaticFdoProperties();

			m_projectShared = false;
			RemotingServer.Start(FwDirectoryFinder.RemotingTcpServerConfigFile, FwDirectoryFinder.FdoDirectories, () => m_projectShared, v => m_projectShared = v);

			var connectString = String.Format("tcp://{0}:{1}/FwRemoteDatabaseConnector.Db4oServerInfo",
				"127.0.0.1", Db4OPorts.ServerPort);
			m_db4OServerInfo = (Db4oServerInfo)Activator.GetObject(typeof(Db4oServerInfo), connectString);

			// Arbitrary method call to ensure db4oServerInfo is created on server.
			m_db4OServerInfo.AreProjectShared();

			m_progress = new DummyProgressDlg();
		}
		public void StopFwRemoteDatabaseConnector()
		{
			m_db4OServerInfo = null;
			RemotingServer.Stop();
		}
		public void StartFwRemoteDatabaseConnector()
		{
			FdoTestHelper.SetupStaticFdoProperties();
			m_sharedProject = true;
			RemotingServer.Start(FwDirectoryFinder.RemotingTcpServerConfigFile, FwDirectoryFinder.FdoDirectories, () => m_sharedProject, v => m_sharedProject = v);

			var connectString = String.Format("tcp://{0}:{1}/FwRemoteDatabaseConnector.Db4oServerInfo",
				"localhost", Db4OPorts.ServerPort);
			m_db4OServerInfo = (Db4oServerInfo)Activator.GetObject(typeof(Db4oServerInfo), connectString);
		}