GetPixel is often blocked, because this is a typical way for a Pixel-Bot.
But there are other ways that are used from the screen video software that normaly works. ( So people can create ingame videos )
Take a look into this thread:
It contais the Source-Code for a C# Pixel Bot.
The Kernal Driver is blocked in the meantime , but huge parts of the code shoud still work.