private MemoryMappedFile GetWritableFile() { if (this.mappedFile != null) { return(this.mappedFile); } this.mappedFile = AgentSubscription.GetMemoryMappedFile(this.name, true); return(this.mappedFile); }
private static MemoryMappedFile GetReadOnlyFile(string name) { return(AgentSubscription.GetMemoryMappedFile(name, false)); }