public void OnRawMessage(object sender, IrcEventArgs e)
{
UTF8Encoding encoding = (UTF8Encoding)Encoding.UTF8;
IAsyncResult asyncResult = rawLog.BeginWrite(encoding.GetBytes(e.Data.RawMessage + "\n"), 0, encoding.GetByteCount(e.Data.RawMessage + "\n"), new AsyncCallback(EndWriteCallback), new State(rawLog));
}