Basically I want to make simple toggle program (that will be mapped to some keyboard shortcut) that set taskbar to auto-hide mode if in normal mode (and conversely, to normal sh
It's a more WIN32 API related issue than C#. You can use this (needed to be translated to dot net of course) to hide the task bar.
You can use http://www.pinvoke.net to translate the WIN32 API calls to dot net.
You can achieve that by manipulating the registry using the keys that described here.
It should be an easy task, Good luck.