Auth0 Home Blog Docs

Examples of Machine to Machine flow in .NET Core?

Did anyone have the chance to implemente the flow from .net core using and HTTPMessageHandler to nicely delegate getting and refreshing the token? I’d like to see an example.
Also, is there any up to date library for hitting the authentication API? Everything I managed to find was either very old or from a third party