public override string ToString() { string result = string.Format("Handshake message: InfoHash:{0}, PeerId:{1}", InfoHash.ToHexString(), PeerId.ToHexString()); return(result); }