Sorry for the delay, here i am.
For the sake of semplicity, i will use a useless class with a static variable in c#
Code:
AppVariables.cs:
public class AppVariables
{
public static bool disable_my_autoupdater = false;
}
Note that i have not used a namespace, so this class can be referenced anywhere in your code without any prefix
Now in your autoupdater you have just to
Code:
if (AppVariables.disable_my_autoupdater)
return;
And here you are, now you have just to set the variable to true before the update and then set it again to false
Code:
AppVariables.disable_my_autoupdater = true;
//...your code, updates and so on
AppVariables.disable_my_autoupdater = false;
This is very
IMPORTANT since a static variable keep its value, dont forget to put it again to false or your AU will never fire again until application restart
Hope this helps