public string GetChannelInboundFilepath(Channel channel) { string prefix = (!channel.InGameDll ? "outcmds" : "incmds"); string filename = string.Format("{0}_{1}.txt", prefix, channel.ProcessId); string filepath = System.IO.Path.Combine(FileLocations.GetRunningFolder(), filename); return(filepath); }