/// <summary> /// /// </summary> /// <param name="inName"></param> /// <param name="inCapacity"></param> /// <returns></returns> public SharedMemoryController BuildClientControllerMemMappedFile(string inName, long inServerCapacity, long inClientCapacity) { SharedMemoryController result = new SharedMemoryController(); //::::::::::::::::::::::::::::::::::::::::: result.InitClient(SharedMemoryType.File, inName, inServerCapacity, inClientCapacity); //::::::::::::::::::::::::::::::::::::::::: return(result); }
/// <summary> /// /// </summary> /// <param name="inName"></param> /// <param name="inCapacity"></param> /// <returns></returns> public SharedMemoryController BuildClientController(string inName, long inServerCapacity, long inClientCapacity) { SharedMemoryController result = new SharedMemoryController(); //::::::::::::::::::::::::::::::::::::::::: if (!result.InitClient(SharedMemoryType.Memory, inName, inServerCapacity, inClientCapacity)) { result = null; //GC.Collect(); } //::::::::::::::::::::::::::::::::::::::::: return(result); }