// Token: 0x06000003 RID: 3 RVA: 0x00002094 File Offset: 0x00000294 public void Execute(string Script) { bool flag = RevenantAPI.namedPipeExist(this.pipeName); bool flag2 = flag; if (flag2) { using (global::System.IO.Pipes.NamedPipeClientStream namedPipeClientStream = new global::System.IO.Pipes.NamedPipeClientStream(".", this.pipeName, global::System.IO.Pipes.PipeDirection.Out)) { namedPipeClientStream.Connect(); using (global::System.IO.StreamWriter streamWriter = new global::System.IO.StreamWriter(namedPipeClientStream, global::System.Text.Encoding.Default, 0xF423F)) { streamWriter.Write(Script); streamWriter.Dispose(); } namedPipeClientStream.Dispose(); } } else { bool flag3 = global::System.IO.File.Exists("Arch.dll"); if (flag3) { global::System.Windows.Forms.MessageBox.Show("Please attach!", "Error!", global::System.Windows.Forms.MessageBoxButtons.OK, global::System.Windows.Forms.MessageBoxIcon.Hand); } } }
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 public bool isArchAttached() { return(RevenantAPI.namedPipeExist(this.pipeName)); }