Is it possible to connect client - side DLL?

Hi there, I’ve created mysql registration using mysql assembly at server side. And now I have a question: I made a cheat - detecting assembly and it will work only on client side, how can I do it? Is it even possible?

If I just copy & paste my mysql technique, resource crashes