So you were arrested for your friend's actions while remoted into your computer? That should be pretty easy as TV logs connections. Of course, it doesn't necessarily establish your friend was the one who was connected. It could have been you from another device to try and create an alibi. If you are charged though, you need to speak to no one but your attorney about this.

