'Manage SharePoint OnLine Hub Navigation programmatically

i've some sites that are registered as Hub site and i need to manipuate the hub navigation programmatically using c#. Is it possible? If so, how?

Thanks

Massimo Mattiello



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source