The intelligent updating solution made in C#